Skip to content
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

i#4123: Look for symbols in special build-id subdir #4133

Merged
merged 3 commits into from
Feb 25, 2020

Conversation

derekbruening
Copy link
Contributor

Adds to drsyms reading of the build id and searching in
/usr/lib/debug/.build-id for a separate debuginfo file, which is the
modern scheme for installed libraries.

Tested on internal symbols like __GI___libc_malloc on a local machine.
It is not easy to make an automated test for this without setting up a
chroot or something which does not seem worth the effort.

Fixes #4123

Adds to drsyms reading of the build id and searching in
/usr/lib/debug/.build-id for a separate debuginfo file, which is the
modern scheme for installed libraries.

Tested on internal symbols like __GI___libc_malloc on a local machine.
It is not easy to make an automated test for this without setting up a
chroot or something which does not seem worth the effort.

Fixes #4123
ext/drsyms/drsyms_elf.c Show resolved Hide resolved
@derekbruening
Copy link
Contributor Author

AArch64 this time hit #2892 and #3980. Probably someone should try again to reproduce, and/or mark flaky.

Travis: still plagued by #4126, and also the clang job failed trying to install clang-9, which always used to work, and in fact worked on just the prior commit in this PR. Grrr.

@derekbruening derekbruening merged commit 163995a into master Feb 25, 2020
@derekbruening derekbruening deleted the i4123-drsym-buildid-dir branch February 25, 2020 02:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

drsyms does not look in /usr/lib/debug/.build-id/ directory for symbol files
2 participants