[PATCH] D123538: [symbolizer] Parse DW_TAG_variable DIs to show line info for globals
Mitch Phillips via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 21 16:08:52 PDT 2022
hctim updated this revision to Diff 424324.
hctim added a comment.
| XCOFF/print-linenumber.test | depends on the fact that symbolizing '0x0' should pull it from .text, even if there's a global variable also at '0x0'. This is why (as above) I don't think objfiles are a good test case for llvm-symbolizer, as an address alone can point to multiple symbolizable things. |
|
So, now we specifically only do this with the 'DATA 0x0' pathways.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D123538/new/
https://reviews.llvm.org/D123538
Files:
llvm/include/llvm/DebugInfo/DIContext.h
llvm/include/llvm/DebugInfo/DWARF/DWARFContext.h
llvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h
llvm/include/llvm/DebugInfo/PDB/PDBContext.h
llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp
llvm/lib/DebugInfo/PDB/PDBContext.cpp
llvm/lib/DebugInfo/Symbolize/DIPrinter.cpp
llvm/lib/DebugInfo/Symbolize/SymbolizableObjectFile.cpp
llvm/test/DebugInfo/Symbolize/ELF/data-command-symtab.yaml
llvm/test/tools/llvm-symbolizer/data-location.s
llvm/test/tools/llvm-symbolizer/data.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123538.424324.patch
Type: text/x-patch
Size: 30559 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220421/0ad52a55/attachment.bin>
More information about the llvm-commits
mailing list