[PATCH] D47158: [DWARFv5] Put DWO ID in its place

Paul Robinson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 21 13:43:44 PDT 2018


probinson created this revision.
probinson added reviewers: dblaikie, aprantl, JDevlieghere.
probinson added a project: debug-info.
Herald added subscribers: llvm-commits, hiraditya.

In v5, the DWO ID is in the (split/skeleton) CU header, not an attribute
on the CU DIE.

This makes header sizes more different, so used the parsed size whenever
we have one, for simplicity.


Repository:
  rL LLVM

https://reviews.llvm.org/D47158

Files:
  llvm/include/llvm/DebugInfo/DWARF/DWARFTypeUnit.h
  llvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h
  llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
  llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
  llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  llvm/lib/DebugInfo/DWARF/DWARFCompileUnit.cpp
  llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
  llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp
  llvm/test/CodeGen/X86/dwarf-headers.ll
  llvm/test/DebugInfo/X86/dwarfdump-header.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47158.147857.patch
Type: text/x-patch
Size: 13179 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180521/8e86947c/attachment.bin>


More information about the llvm-commits mailing list