-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
add support for split debuginfo files #17962
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
Conversation
can we test this? via libccalltest maybe? |
Ref https://www.sourceware.org/gdb/onlinedocs/gdb/Separate-Debug-Files.html, which specifies the gdb search order (which is hopefully the order distros follows) as well as the build-id method. I'm not sure what each distros uses (Arch use |
Yes, |
61375d3
to
74a151e
Compare
ok, added support for all of the path options for debug-link. I didn't add support for |
74a151e
to
329ad6d
Compare
329ad6d
to
3a93d8c
Compare
There seem to be a few variations on the tools and arguments available for creating split debuginfo files. I used the following: objcopy --only-keep-debug libjulia.so libjulia.so.debug strip -g libjulia.so objcopy --add-gnu-debuglink=libjulia.so.debug libjulia.so
0dbb1d1
to
fdef049
Compare
fdef049
to
4083d9b
Compare
There seem to be a few variations on the tools and arguments available for creating split debuginfo files. I used the following: objcopy --only-keep-debug libjulia.so libjulia.so.debug strip -g libjulia.so objcopy --add-gnu-debuglink=libjulia.so.debug libjulia.so (cherry picked from commit b67fd06) ref #17962
There seem to be a few variations on the tools and arguments
available for creating split debuginfo files.
I used the following:
objcopy --only-keep-debug libjulia.so libjulia.so.debug
strip -g libjulia.so
objcopy --add-gnu-debuglink=libjulia.so.debug libjulia.so
fix #17854