X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Fllvm%2FLTO%2FLTOCodeGenerator.h;h=a7ccbceda4136e1a4fffb9522f87d4eb3b7d9a00;hb=22df81e0874c538c89bf7c182c15fab559b350d0;hp=695de5aa9946adde64efe4eafc270a78debe4c91;hpb=ad3f32e4a59af726de857d05b81e69d3373ca38e;p=oota-llvm.git diff --git a/include/llvm/LTO/LTOCodeGenerator.h b/include/llvm/LTO/LTOCodeGenerator.h index 695de5aa994..a7ccbceda41 100644 --- a/include/llvm/LTO/LTOCodeGenerator.h +++ b/include/llvm/LTO/LTOCodeGenerator.h @@ -159,7 +159,7 @@ private: std::unique_ptr OwnedContext; LLVMContext &Context; Linker IRLinker; - TargetMachine *TargetMach = nullptr; + std::unique_ptr TargetMach; bool EmitDwarfDebugInfo = false; bool ScopeRestrictionsDone = false; lto_codegen_model CodeModel = LTO_CODEGEN_PIC_MODEL_DEFAULT;