bcain added inline comments.
Comment at: clang/lib/Driver/ToolChains/Linux.cpp:923
+ return ((getTriple().isAndroid() && !getTriple().isAndroidVersionLT(16)) ||
+ getTriple().isMusl() || getSanitizerArgs().requiresPIE()) &&
+ getTriple().getArch() != llvm::Trip
sidneym created this revision.
sidneym added reviewers: kparzysz, bcain, martell, dalias.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Right now if the triple includes musl, saying something like:
"--target=x86_64--linux-musl" then the default relocation model is pic. W