DavidSpickett wrote: > Probably, prologue and epilogue code are not generated for empty functions on > some targets, but it is on Linux/x64, for example.
Ok so if the function did not have an epilogue, the test did what it claimed to. If it did, the breakpoint got placed before the epilogue because that's the last "user visible" place for it. I understand the fix now. I was thinking maybe the original author thought that epilogues were included in the function's range in the debug info but were not (I assume they in fact are), but that's nothing to do with this fix. https://github.com/llvm/llvm-project/pull/161788 _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
