[PATCH] D59553: [LLD][ELF][DebugInfo] llvm-symbolizer shows incorrect source line info if --gc-sections used
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 9 09:46:16 PDT 2019
MaskRay added a comment.
`__libc_csu_init` is in `libc.a(elf-init.o)` and has no debug info. It should symbolize to `??` but `not_used.cpp` is incorrectly returned. `?? -> not_used.cpp`
A more serious problem is when a `main.cpp` symbol incorrectly resolves to `not_used.cpp`. I created D60470 <https://reviews.llvm.org/D60470> to fix that.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59553/new/
https://reviews.llvm.org/D59553
More information about the llvm-commits
mailing list