[PATCH] D54282: [DWARFv5] Emit normal type units in .debug_info comdats.
    Paul Robinson via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Nov  8 15:50:38 PST 2018
    
    
  
probinson created this revision.
probinson added reviewers: dblaikie, aprantl.
probinson added a project: debug-info.
Herald added subscribers: JDevlieghere, hiraditya.
This should make non-split type units fully conform to DWARF v5.
An artifact of the LLVM implementation means that the type-unit sections
will appear before the compile-unit section in the object file. So, readers
making assumptions about ordering will need to learn better.
(I'm looking at you, LLD.)
I was going to do split units at the same time, but that's going to be trickier,
because it looks like for v5, the split compile and type units should all coexist 
in the same section.  So, leaving split type-units for another day.
Repository:
  rL LLVM
https://reviews.llvm.org/D54282
Files:
  llvm/include/llvm/MC/MCObjectFileInfo.h
  llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  llvm/lib/MC/MCObjectFileInfo.cpp
  llvm/test/CodeGen/X86/dwarf-headers.ll
  llvm/test/DebugInfo/X86/string-offsets-multiple-cus.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54282.173239.patch
Type: text/x-patch
Size: 7215 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181108/e49f0579/attachment.bin>
    
    
More information about the llvm-commits
mailing list