DWARF Type Units: Avoid emitting type units under fission if the type requires an...
authorDavid Blaikie <dblaikie@gmail.com>
Sat, 26 Apr 2014 17:27:38 +0000 (17:27 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Sat, 26 Apr 2014 17:27:38 +0000 (17:27 +0000)
commit4f18a81abade0448785b26692a467c15c461794d
treeddc70a357d89b967a5b188ab25539d130efdc4e5
parent1ecbfb403c99ec5af7ae5b0eef8c4ee7fcfa7b87
DWARF Type Units: Avoid emitting type units under fission if the type requires an address.

Since there's no way to ensure the type unit in the .dwo and the type
unit skeleton in the .o are correlated, this cannot work.

This implementation is a bit inefficient for a few reasons, called out
in comments.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207323 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/AddressPool.cpp
lib/CodeGen/AsmPrinter/AddressPool.h
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/CodeGen/AsmPrinter/DwarfDebug.h
lib/CodeGen/AsmPrinter/DwarfUnit.h
test/DebugInfo/X86/type_units_with_addresses.ll [new file with mode: 0644]