diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-04-08 16:52:05 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-04-08 16:52:05 +0000 |
commit | f7b3d6c55b9159a0c24f90e219a1cfdc9367e2fc (patch) | |
tree | 787493481f80f26a2ed233fcb2f0b7793e772006 /clang/lib/CodeGen/BackendUtil.cpp | |
parent | 10a4972a8d872f33ec109936543ec9fc583a56e3 (diff) | |
download | bcm5719-llvm-f7b3d6c55b9159a0c24f90e219a1cfdc9367e2fc.tar.gz bcm5719-llvm-f7b3d6c55b9159a0c24f90e219a1cfdc9367e2fc.zip |
Move EABIVersion from CodeGenOptions to TargetOptions
It is possible to argue that the EABIVersion field is similar in spirit to the
ABI field in TargetOptions. It represents the embedded ABI that the target
follows. This will allow us to thread this information into the target
information construction.
llvm-svn: 265807
Diffstat (limited to 'clang/lib/CodeGen/BackendUtil.cpp')
-rw-r--r-- | clang/lib/CodeGen/BackendUtil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/BackendUtil.cpp b/clang/lib/CodeGen/BackendUtil.cpp index 47a34a21b81..4470afb910c 100644 --- a/clang/lib/CodeGen/BackendUtil.cpp +++ b/clang/lib/CodeGen/BackendUtil.cpp @@ -552,7 +552,7 @@ TargetMachine *EmitAssemblyHelper::CreateTargetMachine(bool MustCreateTM) { Options.CompressDebugSections = CodeGenOpts.CompressDebugSections; // Set EABI version. - Options.EABIVersion = llvm::StringSwitch<llvm::EABI>(CodeGenOpts.EABIVersion) + Options.EABIVersion = llvm::StringSwitch<llvm::EABI>(TargetOpts.EABIVersion) .Case("4", llvm::EABI::EABI4) .Case("5", llvm::EABI::EABI5) .Case("gnu", llvm::EABI::GNU) |