summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
diff options
context:
space:
mode:
authorEli Bendersky <eliben@google.com>2012-12-03 18:45:45 +0000
committerEli Bendersky <eliben@google.com>2012-12-03 18:45:45 +0000
commitb42d1466a0ae02002631a04fcd70c7bfb992b814 (patch)
treedec5a7460a028658c52dc46d255c9de0de413528 /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
parent214b71506178f9705891f4452d8b41ff14919f5c (diff)
downloadbcm5719-llvm-b42d1466a0ae02002631a04fcd70c7bfb992b814.tar.gz
bcm5719-llvm-b42d1466a0ae02002631a04fcd70c7bfb992b814.zip
Fix PR12942: Allow two CUs to be generated from the same source file.
Thanks Eric for the review. llvm-svn: 169142
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
index 35bddee41b3..d90a6d570ff 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
@@ -316,6 +316,9 @@ class DwarfDebug {
// have exposed. See accessor functions below for description.
bool IsDarwinGDBCompat;
+ // Counter for assigning globally unique IDs for CUs.
+ unsigned GlobalCUIndexCount;
+
// DWARF5 Experimental Options
bool HasDwarfAccelTables;
bool HasDwarfFission;
OpenPOWER on IntegriCloud