[PATCH] D28456: DebugInfo: support for DW_FORM_implicit_const
Victor Leschuk via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 7 23:43:51 PST 2017
vleschuk created this revision.
vleschuk added reviewers: mehdi_amini, echristo, aprantl, dblaikie.
vleschuk added a subscriber: llvm-commits.
Add support for DW_FORM_implicit_const (http://www.dwarfstd.org/ShowIssue.php?issue=141215.4) DWARFv5 feature. When this form is used attribute value goes to .debug_abbrev section (as SLEB). The functionality is checked with patched binutils-gdb, patch by Jan Kratochvil which will be published upstream this week. As this form would break any debug tool which doesn't support DWARFv5 it is guarded by dwarf version check. Attempt to use this form with dwarf version <= 4 is considered a fatal error.
https://reviews.llvm.org/D28456
Files:
include/llvm/CodeGen/DIE.h
include/llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h
include/llvm/DebugInfo/DWARF/DWARFFormValue.h
lib/CodeGen/AsmPrinter/DIE.cpp
lib/CodeGen/AsmPrinter/DwarfUnit.cpp
lib/DebugInfo/DWARF/DWARFAbbreviationDeclaration.cpp
lib/DebugInfo/DWARF/DWARFFormValue.cpp
test/DebugInfo/Inputs/implicit-const-test.o
test/DebugInfo/dwarfdump-implicit-const.test
unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28456.83549.patch
Type: text/x-patch
Size: 10842 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170108/454715eb/attachment.bin>
More information about the llvm-commits
mailing list