collinbaker marked 2 inline comments as done.
collinbaker added inline comments.
================
Comment at: clang/lib/Driver/ToolChain.cpp:500
+ if (getTriple().isAndroid() &&
+ getTriple().getEnvironmentName() != "android") {
+ llvm::outs() << getTriple().getEnvironmentName() << "\n";
----------------
thakis wrote:
> Why do you need the environment check?
This skips adding an extra path if the triple doesn't have an Android API level.
E.g. for the target triple aarch64-unknown-linux-android23, the environment
name will be "android23". The condition will be true since "android23" !=
"android", and the extra path will be appended. If it had just been "android"
it'll skip this step.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D115049/new/
https://reviews.llvm.org/D115049
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits