diff options
author | Fangrui Song <i@maskray.me> | 2024-06-14 23:20:50 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2024-06-14 23:20:50 -0700 |
commit | 8cc6a2469c95f0815487c442495a829c337913c4 (patch) | |
tree | 4465e19462f9a31024f486e643fd4689f38ca6c7 /llvm/unittests/Support/MathExtrasTest.cpp | |
parent | 7c6d0d26b1792fdf437b3e33b98c55fee9b06516 (diff) | |
download | llvm-8cc6a2469c95f0815487c442495a829c337913c4.zip llvm-8cc6a2469c95f0815487c442495a829c337913c4.tar.gz llvm-8cc6a2469c95f0815487c442495a829c337913c4.tar.bz2 |
[ELF] -r: force -Bstatic
In GNU ld, -r forces -Bstatic and has precedence over -Bdynamic: -lfoo
probes libfoo.a but not libfoo.so, even if -Bdynamic is in effect. Our
behavior currently matches gold and probes libfoo.so. Since we don't
have strong opinion on the exact behavior, let's just follow GNU ld and
also unify the reason we report the "attempted static link of dynamic
object " error.
Close #94958
Diffstat (limited to 'llvm/unittests/Support/MathExtrasTest.cpp')
0 files changed, 0 insertions, 0 deletions