llvm.org GIT mirror llvm / 60777d8
Turn on the accelerator tables for Darwin. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153880 91177308-0d34-0410-b5e6-96231b3b80d8 Eric Christopher 8 years ago
1 changed file(s) with 6 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
1818 #include "llvm/Constants.h"
1919 #include "llvm/Module.h"
2020 #include "llvm/Instructions.h"
21 #include "llvm/ADT/Triple.h"
2122 #include "llvm/CodeGen/MachineFunction.h"
2223 #include "llvm/CodeGen/MachineModuleInfo.h"
2324 #include "llvm/MC/MCAsmInfo.h"
132133 DwarfStrSectionSym = TextSectionSym = 0;
133134 DwarfDebugRangeSectionSym = DwarfDebugLocSectionSym = 0;
134135 FunctionBeginSym = FunctionEndSym = 0;
136
137 // Turn on accelerator tables for Darwin.
138 if (Triple(M->getTargetTriple()).isOSDarwin())
139 DwarfAccelTables = true;
140
135141 {
136142 NamedRegionTimer T(DbgTimerName, DWARFGroupName, TimePassesIsEnabled);
137143 beginModule(M);