aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2015-09-26 03:26:44 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2015-09-26 03:26:44 +0000
commitd44901f21bbd71fab5d61c88e14d3233a821a110 (patch)
tree6f45138af2b9ec53fded1de783430fd19d194d30 /clang/lib/CodeGen/CodeGenModule.cpp
parent96c5023e533d1875f2d527075e8779d608d91255 (diff)
downloadllvm-d44901f21bbd71fab5d61c88e14d3233a821a110.zip
llvm-d44901f21bbd71fab5d61c88e14d3233a821a110.tar.gz
llvm-d44901f21bbd71fab5d61c88e14d3233a821a110.tar.bz2
Driver: support ARM/HF on a single toolchain
ARM EABI adds target attributes to the object file. Amongst the attributes that are emitted is the VFP argument passing (Hard vs Soft). The linker is responsible for checking these attributes and erroring on mismatches. This causes problems for the compiler-rt builtins when targeting both hard and soft. Because both of these options name the builtins compiler-rt component the same (libclang_rt.builtins-arm.a or libclang_rt.builtins-arm-android). GCC is able to get away with this as it does one target per toolchain. This changes the naming convention for the ARM compiler-rt builtins to differentiate between HF and Soft. Although this means that compiler-rt may be duplicated, it enables supporting both variants from a single toolchain. A similar approach is taken by the Darwin toolchain, naming the library to differentiate between the calling conventions. llvm-svn: 248649
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions