summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-12-18 02:23:27 +0000
committerEric Christopher <echristo@gmail.com>2014-12-18 02:23:27 +0000
commit526ca20011916f79bfa1e980197ac4486b4fa7e5 (patch)
tree17d9109f1454903f2cf0241999ce1152e79337f8 /clang/lib/CodeGen
parent661f2d1ca1fb6d55cc54b71ec06b3310d07e229a (diff)
downloadbcm5719-llvm-526ca20011916f79bfa1e980197ac4486b4fa7e5.tar.gz
bcm5719-llvm-526ca20011916f79bfa1e980197ac4486b4fa7e5.zip
Update for llvm front end change and use the TargetOptions struct
for ABI. llvm-svn: 224493
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r--clang/lib/CodeGen/BackendUtil.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/BackendUtil.cpp b/clang/lib/CodeGen/BackendUtil.cpp
index 97485b73927..54215743f8a 100644
--- a/clang/lib/CodeGen/BackendUtil.cpp
+++ b/clang/lib/CodeGen/BackendUtil.cpp
@@ -502,6 +502,7 @@ TargetMachine *EmitAssemblyHelper::CreateTargetMachine(bool MustCreateTM) {
Options.StackAlignmentOverride = CodeGenOpts.StackAlignment;
Options.DisableTailCalls = CodeGenOpts.DisableTailCalls;
Options.TrapFuncName = CodeGenOpts.TrapFuncName;
+ Options.ABIName = TargetOpts.ABI;
Options.PositionIndependentExecutable = LangOpts.PIELevel != 0;
Options.FunctionSections = CodeGenOpts.FunctionSections;
Options.DataSections = CodeGenOpts.DataSections;
OpenPOWER on IntegriCloud