[PATCH] D70630: llvm-symbolizer: fix handling of DW_AT_specification in FRAME.
Evgenii Stepanov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 22 18:22:42 PST 2019
eugenis created this revision.
eugenis added reviewers: pcc, vitalybuka.
Herald added subscribers: rupprecht, hiraditya, srhines.
Herald added a reviewer: jdoerfert.
Herald added a project: LLVM.
Use getSubroutineName() to the the subrouting name; this function knows
how to handle cases when DW_TAG_subprogram refers to an earlier
declaration:
0x00000050: DW_TAG_subprogram
DW_AT_linkage_name ("_ZN1A1fEv")
DW_AT_name ("f")
...
0x00000067: DW_TAG_subprogram
DW_AT_low_pc (0x0000000000000000)
DW_AT_high_pc (0x0000000000000020)
DW_AT_specification (0x00000050 "_ZN1A1fEv")
...
0x0000008c: DW_TAG_variable
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D70630
Files:
llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
llvm/test/tools/llvm-symbolizer/frame-specification.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70630.230744.patch
Type: text/x-patch
Size: 15069 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191123/d55d2ec6/attachment.bin>
More information about the llvm-commits
mailing list