llvm-project/llvm/test/DebugInfo/Symbolize/ELF
Mitch Phillips cead4eceb0 [symbolizer] Parse DW_TAG_variable DIs to show line info for globals
Currently, llvm-symbolizer doesn't like to parse .debug_info in order to
show the line info for global variables. addr2line does this. In the
future, I'm looking to migrate AddressSanitizer off of internal metadata
over to using debuginfo, and this is predicated on being able to get the
line info for global variables.

This patch adds the requisite support for getting the line info from the
.debug_info section for symbolizing global variables. This only happens
when you ask for a global variable to be symbolized as data.

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D123538
2022-05-23 13:30:22 -07:00
..
aarch64-mapping-symbol.s [llvm-symbolizer][llvm-nm] Fix AArch64 and ARM mapping symbols handling. 2021-03-23 14:17:12 +01:00
arm-mapping-symbol.s [llvm-symbolizer][llvm-nm] Fix AArch64 and ARM mapping symbols handling. 2021-03-23 14:17:12 +01:00
data-command-symtab.yaml [symbolizer] Parse DW_TAG_variable DIs to show line info for globals 2022-05-23 13:30:22 -07:00
riscv-empty-name-symbol.s [RISCV] Make empty name symbols SF_FormatSpecific so that llvm-symbolizer ignores them for symbolization 2021-03-16 14:12:18 -07:00
symtab-file-conflict.s DebugInfo/Symbolize: Retrieve filename from the preceding STT_FILE for .symtab symbolization 2021-02-10 09:47:10 -08:00
symtab-file.s DebugInfo/Symbolize: Retrieve filename from the preceding STT_FILE for .symtab symbolization 2021-02-10 09:47:10 -08:00
symtab-file2.yaml DebugInfo/Symbolize: Retrieve filename from the preceding STT_FILE for .symtab symbolization 2021-02-10 09:47:10 -08:00
symtab-ifunc.s
symtab-ignored.s DebugInfo/Symbolize: Retrieve filename from the preceding STT_FILE for .symtab symbolization 2021-02-10 09:47:10 -08:00
symtab-notype.s DebugInfo/Symbolize: Retrieve filename from the preceding STT_FILE for .symtab symbolization 2021-02-10 09:47:10 -08:00