aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2022-04-08 23:30:07 -0700
committerFangrui Song <i@maskray.me>2022-04-08 23:30:07 -0700
commitbbb72122aa27a2398b7c06394c879149fd723ccb (patch)
treeea2623c17b12bb4364f1febc938013612bd2b04e /clang/lib/Frontend/CompilerInvocation.cpp
parent2cbd4fc4424a88573ee03e2f1dce345f7826e662 (diff)
downloadllvm-bbb72122aa27a2398b7c06394c879149fd723ccb.zip
llvm-bbb72122aa27a2398b7c06394c879149fd723ccb.tar.gz
llvm-bbb72122aa27a2398b7c06394c879149fd723ccb.tar.bz2
[scudo][test] Link with -no-pie to be agnostic of CLANG_DEFAULT_PIE_ON_LINUX
This keeps the test behavior unchanged when CLANG_DEFAULT_PIE_ON_LINUX switches to ON by default. Note: current clang --target=mips64el-linux-gnu -fpie -pie -fuse-ld=lld does not link with C++ exceptions, using -pie would lead to ``` ld.lld: error: cannot preempt symbol: DW.ref.__gxx_personality_v0 ... ld.lld: error: relocation R_MIPS_64 cannot be used against local symbol; recompile with -fPIC ... ``` when linking `ScudoUnitTests`: https://lab.llvm.org/buildbot/#/builders/169/builds/7311/steps/18/logs/stdio
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions