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
This commit is contained in:
Cameron Zwarich
2011-07-11 22:19:51 +00:00
parent af0a2e6730
commit bf843e6974
2 changed files with 2 additions and 0 deletions

View File

@@ -73,6 +73,7 @@ LTOCodeGenerator::LTOCodeGenerator()
_nativeObjectFile(NULL)
{
InitializeAllTargets();
InitializeAllMCSubtargetInfos();
InitializeAllAsmPrinters();
}