diff options
| author | Bill Wendling <isanbard@gmail.com> | 2013-02-14 08:09:20 +0000 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2013-02-14 08:09:20 +0000 |
| commit | e1092dfee2bbcc2243421c553bca488880324280 (patch) | |
| tree | ad136c4285521ebb45bdd6b6b98c6b3532c03591 /lib/CodeGen/CodeGenAction.cpp | |
| parent | 747836e5c79b5e12fe9cfb9b724dc4edeb115419 (diff) | |
| download | clang-e1092dfee2bbcc2243421c553bca488880324280.tar.gz clang-e1092dfee2bbcc2243421c553bca488880324280.tar.bz2 clang-e1092dfee2bbcc2243421c553bca488880324280.tar.xz | |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175141 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenAction.cpp')
| -rw-r--r-- | lib/CodeGen/CodeGenAction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenAction.cpp b/lib/CodeGen/CodeGenAction.cpp index 8e81d4d89b..8591961928 100644 --- a/lib/CodeGen/CodeGenAction.cpp +++ b/lib/CodeGen/CodeGenAction.cpp @@ -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; |
