aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2021-03-11 23:44:16 +0200
committerMartin Storsjö <martin@martin.st>2021-03-18 14:58:58 +0200
commit8e11bede3a6ac11ebcc05c82fac39899feaf9534 (patch)
tree501a7b63625acd3896029d7807675b3faa733da9 /flang/lib/Frontend/CompilerInvocation.cpp
parent26ec76add5cf0689dc545ade9a39eef58db6e3d7 (diff)
downloadllvm-8e11bede3a6ac11ebcc05c82fac39899feaf9534.zip
llvm-8e11bede3a6ac11ebcc05c82fac39899feaf9534.tar.gz
llvm-8e11bede3a6ac11ebcc05c82fac39899feaf9534.tar.bz2
[compiler-rt] Produce the right arch suffix for arm libraries
If producing libraries with an arch suffix (i.e. if LLVM_ENABLE_PER_TARGET_RUNTIME_DIR isn't set), we append the architecture name. However, for arm, clang doesn't look for libraries with the full architecture name, but only looks for "arm" and "armhf". Try to deduce what the full target triple might have been, and use that for deciding between "arm" and "armhf". This tries to reapply this bit from D98173, that had to be reverted in 7b153b43d3a14d76975039408c4b922beb576735 due to affecting how the builtins themselves are compiled, not only affecting the output file name. Differential Revision: https://reviews.llvm.org/D98452
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions