llvm.org GIT mirror llvm / bf843e6
Fix LTO after the recent MC subtarget refactoring. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134930 91177308-0d34-0410-b5e6-96231b3b80d8 Cameron Zwarich 8 years ago
2 changed file(s) with 2 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
7272 _nativeObjectFile(NULL)
7373 {
7474 InitializeAllTargets();
75 InitializeAllMCSubtargetInfos();
7576 InitializeAllAsmPrinters();
7677 }
7778
134134 static bool Initialized = false;
135135 if (!Initialized) {
136136 InitializeAllTargets();
137 InitializeAllMCSubtargetInfos();
137138 InitializeAllAsmParsers();
138139 Initialized = true;
139140 }