-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable frame pointers on macOS x86_64 #13163
Conversation
a8052fd
to
fdf5f5d
Compare
@fabbing would you by chance be available to have a look at the PR? |
Yes, I have already started looking into this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm pretty convinced now that it should be fine!
This looks good to me, thanks. Can you please add Fabrice as a reviewer in the Changes entry? |
Out of curiosity, can someone explain why the removal of |
The original intent for that code was to filter out parts of the backtrace that were not from the executable under test. I noticed when modifying the regex to support macOS symbols that it was not hitting that code and so wasn't excluding any frames from the backtrace. Running it again on Linux without I guess that @fabbing was originally running these tests under gdb during development and was getting elements of the backtrace from there. |
Changes to testsuite to modify backtrace printing for macOS symbols.
fdf5f5d
to
c1eec79
Compare
@gasche: if you think you should have been added as a reviewer, do not |
No need, I did not do a full review of the change. Thanks! |
Gabriel Scherer (2024/05/16 00:48 -0700):
No need, I did not do a full review of the change. Thanks!
Okay, no problem, just wanted to offer theopportunity.
|
This And as I writing this, I realised that we should also have updated the OCaml side of the code to discard this no longer required argument, and the left over in the C code ( |
Thanks a lot for your very clear explanation @fabbing, which makes
perfect sense to me.
Fabrice (2024/05/21 06:23 -0700):
Should I open a new PR about this?
I don't think you have to if you don't feel like doing so, but I also
thinkit will be very welcome if you do! :)
|
Enables frame pointers on macOS x86_64 reusing the existing code for Linux x86_64 frame pointers.