[PATCH] D28456: DebugInfo: support for DW_FORM_implicit_const

Victor Leschuk via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 9 22:54:42 PST 2017


vleschuk updated this revision to Diff 83780.
vleschuk added a comment.

- DWARFAbbreviationDeclaration::AttributeSpec struct now uses 1 64bit field for both ByteSize and implicit const attribute value (depends on Form == DW_FORM_implicit_const).
- Fixed few mistypes and reordered switch statements to be more logical.


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/DWARFDebugInfoEntry.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.83780.patch
Type: text/x-patch
Size: 14244 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170110/d8e08510/attachment-0001.bin>


More information about the llvm-commits mailing list