aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2012-08-23 22:36:36 +0000
committerEric Christopher <echristo@apple.com>2012-08-23 22:36:36 +0000
commitc1610fa3c43befd489cd41e358bfa48323594266 (patch)
tree63e0021390e0b220f0ca3fafc1f0add42441a752 /lib/CodeGen/AsmPrinter/DwarfDebug.cpp
parent91f3a6cfd95f6520a2d297b1ba426f7ebb2df716 (diff)
Add a flag to DwarfDebug to allow it to communicate whether or not
we're using the darwin old gdb compat mode for emitting dwarf. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162486 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfDebug.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index d9dcd334a9..1991785b11 100644
--- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -145,6 +145,8 @@ DwarfDebug::DwarfDebug(AsmPrinter *A, Module *M)
DwarfAccelTables = true;
DarwinGDBCompat = true;
}
+
+ isDarwinGDBCompat = DarwinGDBCompat;
{
NamedRegionTimer T(DbgTimerName, DWARFGroupName, TimePassesIsEnabled);