llvm.org GIT mirror llvm / 01ccb9c
Use the c++ APIs. No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211294 91177308-0d34-0410-b5e6-96231b3b80d8 Rafael Espindola 5 years ago
1 changed file(s) with 7 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
1717 #include "llvm/CodeGen/CommandFlags.h"
1818 #include "llvm/LTO/LTOCodeGenerator.h"
1919 #include "llvm/LTO/LTOModule.h"
20 #include "llvm/Support/TargetSelect.h"
2021
2122 // extra command-line flags needed for LTOCodeGenerator
2223 static cl::opt
4546 // Initialize the configured targets if they have not been initialized.
4647 static void lto_initialize() {
4748 if (!initialized) {
48 LLVMInitializeAllTargetInfos();
49 LLVMInitializeAllTargets();
50 LLVMInitializeAllTargetMCs();
51 LLVMInitializeAllAsmParsers();
52 LLVMInitializeAllAsmPrinters();
53 LLVMInitializeAllDisassemblers();
49 InitializeAllTargetInfos();
50 InitializeAllTargets();
51 InitializeAllTargetMCs();
52 InitializeAllAsmParsers();
53 InitializeAllAsmPrinters();
54 InitializeAllDisassemblers();
5455 initialized = true;
5556 }
5657 }