aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/UnifyLoopExits.cpp
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2021-08-18 12:57:34 -0400
committerSam Clegg <sbc@chromium.org>2021-08-19 19:25:49 -0400
commitc468dc1b12d8db2c2f881db5b0166f73345631c2 (patch)
tree8bdc3e14fe18c8018b3cc533163a1770177ea324 /llvm/lib/Transforms/Utils/UnifyLoopExits.cpp
parentfd3bd63df26ad0a3865fd1fcbdbbd0063f2b0761 (diff)
downloadllvm-c468dc1b12d8db2c2f881db5b0166f73345631c2.zip
llvm-c468dc1b12d8db2c2f881db5b0166f73345631c2.tar.gz
llvm-c468dc1b12d8db2c2f881db5b0166f73345631c2.tar.bz2
[lld][WebAssembly] Handle weakly defined symbols in shared libraries.
In the case of weakly defined symbols in shared libraries we now generate both an import and an export. The dynamic linker can then choose how a winner from among all the shared libraries that define a given symbol. Previously any direct usage of a weakly defined symbol would use the DSO-local definition (For example, even through there would be single address for a weakly defined function, each DSO could end up directly calling its local version). Fixes: https://github.com/emscripten-core/emscripten/issues/13773 Differential Revision: https://reviews.llvm.org/D108413
Diffstat (limited to 'llvm/lib/Transforms/Utils/UnifyLoopExits.cpp')
0 files changed, 0 insertions, 0 deletions