[PATCH] D78736: [DWARF5]: Added support for dumping strx forms in llvm-dwarfdump
Sourabh Singh Tomar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 6 12:26:17 PDT 2020
SouraVX updated this revision to Diff 262447.
SouraVX added a comment.
Addressed @ikudrin comments, Thanks for this!
- Added `assert` while parsing `_strp/_strx` forms. Since `DW_MACRO_define_strp` and `DW_MACRO_define_strx` forms are only allowed in `macro` and `macro[.dwo]` sections respectively.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D78736/new/
https://reviews.llvm.org/D78736
Files:
llvm/include/llvm/DebugInfo/DWARF/DWARFDebugMacro.h
llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
llvm/lib/DebugInfo/DWARF/DWARFDebugMacro.cpp
llvm/test/DebugInfo/X86/debug-macro-empty-macro-offset.s
llvm/test/DebugInfo/X86/debug-macro-empty-str-offset.s
llvm/test/DebugInfo/X86/debug-macro-multi-cu-strx.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78736.262447.patch
Type: text/x-patch
Size: 15376 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200506/6e4a67bb/attachment.bin>
More information about the llvm-commits
mailing list