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
This commit is contained in:
Eric Christopher
2012-08-23 22:36:36 +00:00
parent 91f3a6cfd9
commit c1610fa3c4
2 changed files with 9 additions and 0 deletions
+2
View File
@@ -145,6 +145,8 @@ DwarfDebug::DwarfDebug(AsmPrinter *A, Module *M)
DwarfAccelTables = true;
DarwinGDBCompat = true;
}
isDarwinGDBCompat = DarwinGDBCompat;
{
NamedRegionTimer T(DbgTimerName, DWARFGroupName, TimePassesIsEnabled);