diff options
author | Ryan Prichard <rprichard@google.com> | 2020-06-18 23:57:08 -0700 |
---|---|---|
committer | Ryan Prichard <rprichard@google.com> | 2020-06-19 16:08:20 -0700 |
commit | ac716c0cc42afc8a179751794da5c661a9ca3f30 (patch) | |
tree | 9be481929e2d7e62b9085eca20587ffa2ba8d44d /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 8627190f310774434350822e9cc80b72b4a041d4 (diff) | |
download | llvm-ac716c0cc42afc8a179751794da5c661a9ca3f30.zip llvm-ac716c0cc42afc8a179751794da5c661a9ca3f30.tar.gz llvm-ac716c0cc42afc8a179751794da5c661a9ca3f30.tar.bz2 |
[builtins][Android] Fix 386->686 adjustment
At this point in this code:
- COMPILER_RT_DEFAULT_TARGET_TRIPLE is "i686-linux-android"
- arch is "i386"
The get_compiler_rt_target function currently turns that into:
i686-android-linux-android
The ${COMPILER_RT_OS_SUFFIX} is "-android" and redundant, so stop
adding it.
The get_compiler_rt_target() function is used for the
LLVM_ENABLE_PER_TARGET_RUNTIME_DIR mode that isn't normally used with
Android.
Differential Revision: https://reviews.llvm.org/D82150
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions