aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/TestModuleFileExtension.cpp
diff options
context:
space:
mode:
authorYAMAMOTO Takashi <yamamoto@midokura.com>2025-01-03 11:53:21 +0900
committerGitHub <noreply@github.com>2025-01-02 18:53:21 -0800
commit9df375e5eae726c5a90ada70f9535a5e22e90214 (patch)
tree11111b90865a78cdce867f5672feb0b631c357a4 /clang/lib/Frontend/TestModuleFileExtension.cpp
parent510a5c7fc25b2a3c33679480131cd60049747dd1 (diff)
downloadllvm-9df375e5eae726c5a90ada70f9535a5e22e90214.zip
llvm-9df375e5eae726c5a90ada70f9535a5e22e90214.tar.gz
llvm-9df375e5eae726c5a90ada70f9535a5e22e90214.tar.bz2
[lld][WebAssembly] Fix non-pie dynamic-linking executable (#108146)
The commit 22b7b84860d39da71964c9b329937f2ee1d875ba made the symbols provided by shared libraries "defined", and thus effectively made it impossible to generate non-pie dynamically linked executables using --unresolved-symbols=import-dynamic. This commit, based on https://github.com/llvm/llvm-project/pull/109249, fixes it by checking sym->isShared() explictly. (as a bonus, you don't need to rely on --unresolved-symbols=import-dynamic anymore.) Fixes https://github.com/llvm/llvm-project/issues/107387
Diffstat (limited to 'clang/lib/Frontend/TestModuleFileExtension.cpp')
0 files changed, 0 insertions, 0 deletions