Initialize BackendConsumer::Context in constructor.
llvm-svn: 224836
This commit is contained in:
parent
5fb94242bb
commit
2f5ec2f2ba
|
@ -65,7 +65,7 @@ namespace clang {
|
|||
CoverageSourceInfo *CoverageInfo = nullptr)
|
||||
: Diags(_Diags), Action(action), CodeGenOpts(compopts),
|
||||
TargetOpts(targetopts), LangOpts(langopts), AsmOutStream(OS),
|
||||
Context(), LLVMIRGeneration("LLVM IR Generation Time"),
|
||||
Context(nullptr), LLVMIRGeneration("LLVM IR Generation Time"),
|
||||
Gen(CreateLLVMCodeGen(Diags, infile, compopts,
|
||||
targetopts, C, CoverageInfo)),
|
||||
LinkModule(LinkModule) {
|
||||
|
|
Loading…
Reference in New Issue