aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/ModuloSchedule.cpp
diff options
context:
space:
mode:
authorYAMAMOTO Takashi <yamamoto@midokura.com>2024-06-12 08:45:53 +0900
committerGitHub <noreply@github.com>2024-06-11 16:45:53 -0700
commit2b6c6bb4985d02056d6d125de185e799988ff763 (patch)
tree1d7ae39f60ce9f4b633fc9dc4e835d5ba6e22b81 /llvm/lib/CodeGen/ModuloSchedule.cpp
parent3d86eebdf84f1c1a8ef57706c1182836176a1780 (diff)
downloadllvm-2b6c6bb4985d02056d6d125de185e799988ff763.zip
llvm-2b6c6bb4985d02056d6d125de185e799988ff763.tar.gz
llvm-2b6c6bb4985d02056d6d125de185e799988ff763.tar.bz2
[lld][WebAssembly] Always search *.so for -Bdynamic (#84288)
Search *.so libraries regardless of -pie to make it a bit more straightforward to build non-pie dynamic-linked executables. Flip the default to -Bstatic (unless -pie or -shared is specified) as I think it's what most users expect for the default as of today. The assumption here is that, because dynamic-linking is not widely used for WebAssembly, the most users do not specify -Bdynamic or -Bstatic, expecting static link. Although the recent wasi-sdk ships *.so files, there are not many wasm runtimes providing the support of dynamic-linking. (only emscripten and toywasm as far as i know.)
Diffstat (limited to 'llvm/lib/CodeGen/ModuloSchedule.cpp')
0 files changed, 0 insertions, 0 deletions