Right now if the triple includes musl, saying something like: "--target=x86_64--linux-musl" then the default relocation model is pic. When the target is hexagon I want the default relocation model to be static.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/lib/Driver/ToolChains/Linux.cpp | ||
---|---|---|
923 | But if getSanitizerArgs().requiresPIE() && getTriple().getArch() == llvm::Triple::hexagon .... then the != hexagon takes precedence? Seems like "sanitizer requires PIE" should, right? |
But if
.... then the != hexagon takes precedence? Seems like "sanitizer requires PIE" should, right?