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 /include/clang/CodeGen/ModuleBuilder.h | |
parent | 747836e5c79b5e12fe9cfb9b724dc4edeb115419 (diff) |
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 'include/clang/CodeGen/ModuleBuilder.h')
-rw-r--r-- | include/clang/CodeGen/ModuleBuilder.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/clang/CodeGen/ModuleBuilder.h b/include/clang/CodeGen/ModuleBuilder.h index ba9d1f9305..cda7863445 100644 --- a/include/clang/CodeGen/ModuleBuilder.h +++ b/include/clang/CodeGen/ModuleBuilder.h @@ -26,6 +26,7 @@ namespace clang { class DiagnosticsEngine; class LangOptions; class CodeGenOptions; + class TargetOptions; class CodeGenerator : public ASTConsumer { virtual void anchor(); @@ -40,6 +41,7 @@ namespace clang { CodeGenerator *CreateLLVMCodeGen(DiagnosticsEngine &Diags, const std::string &ModuleName, const CodeGenOptions &CGO, + const TargetOptions &TO, llvm::LLVMContext& C); } |