DebugInfo: Move type units into the debug_types section with appropriate comdat group...
authorDavid Blaikie <dblaikie@gmail.com>
Fri, 13 Dec 2013 01:06:41 +0000 (01:06 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Fri, 13 Dec 2013 01:06:41 +0000 (01:06 +0000)
commitf4597a0cd46ca119ca955237b847a990b1be9358
treecde547fdc4a8e0d35c3484182b4e5d9fd94106fd
parent363c1ec574c8e97f3c63771ed0bafc5441c7bf56
DebugInfo: Move type units into the debug_types section with appropriate comdat grouping and type unit headers

This commit does not complete the type units feature - there are issues
around fission support (skeletal type units, pubtypes/pubnames) and
hashing of some types including those containing references to types in
other type units.

Originally committed as r197073 and reverted in r197079.

This commit originally got jumbled up with another build-breaking commit
and I can't find the failures I thought this caused anymore.
Recommitting to hopefully get some clean buildbot results to work from.
I have a sneaking suspicion there's unstable output in the comdat group
output of MCStreamer...

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197197 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCObjectFileInfo.h
include/llvm/MC/MCSectionELF.h
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/CodeGen/AsmPrinter/DwarfUnit.cpp
lib/CodeGen/AsmPrinter/DwarfUnit.h
lib/MC/MCObjectFileInfo.cpp
test/DebugInfo/X86/c-type-units.ll
test/DebugInfo/X86/generate-odr-hash.ll