Pass the target options through to code generation.
The code generation stuff is going to set attributes on the functions it generates. To do that it needs the target options. Pass them through. llvm-svn: 175141
This commit is contained in:
@@ -67,7 +67,7 @@ namespace clang {
|
||||
AsmOutStream(OS),
|
||||
Context(),
|
||||
LLVMIRGeneration("LLVM IR Generation Time"),
|
||||
Gen(CreateLLVMCodeGen(Diags, infile, compopts, C)),
|
||||
Gen(CreateLLVMCodeGen(Diags, infile, compopts, targetopts, C)),
|
||||
LinkModule(LinkModule)
|
||||
{
|
||||
llvm::TimePassesIsEnabled = TimePasses;
|
||||
|
||||
Reference in New Issue
Block a user