summaryrefslogtreecommitdiff
path: root/lib/CodeGen/AsmPrinter/DwarfDebug.h
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-04-26 17:27:38 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-04-26 17:27:38 +0000
commit4f18a81abade0448785b26692a467c15c461794d (patch)
treeddc70a357d89b967a5b188ab25539d130efdc4e5 /lib/CodeGen/AsmPrinter/DwarfDebug.h
parent1ecbfb403c99ec5af7ae5b0eef8c4ee7fcfa7b87 (diff)
downloadllvm-4f18a81abade0448785b26692a467c15c461794d.tar.gz
llvm-4f18a81abade0448785b26692a467c15c461794d.tar.bz2
llvm-4f18a81abade0448785b26692a467c15c461794d.tar.xz
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
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfDebug.h')
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfDebug.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.h b/lib/CodeGen/AsmPrinter/DwarfDebug.h
index 9038c648af..a5bbb25122 100644
--- a/lib/CodeGen/AsmPrinter/DwarfDebug.h
+++ b/lib/CodeGen/AsmPrinter/DwarfDebug.h
@@ -284,6 +284,8 @@ class DwarfDebug : public AsmPrinterHandler {
// them.
DenseMap<const MDNode *, const DwarfTypeUnit *> DwarfTypeUnits;
+ SmallVector<std::pair<std::unique_ptr<DwarfTypeUnit>, DICompositeType>, 1> TypeUnitsUnderConstruction;
+
// Whether to emit the pubnames/pubtypes sections.
bool HasDwarfPubSections;