aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Tooling/Syntax/TreeTest.cpp
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2020-08-07 16:12:33 -0700
committerSam Clegg <sbc@chromium.org>2020-08-10 08:16:55 -0700
commitb34ec5969f1ad27f48ebc0d35a3fe37e810a8a32 (patch)
treeda7ab1a1d03b5e1add3faf899f76e3019fb27372 /clang/unittests/Tooling/Syntax/TreeTest.cpp
parent9a368d2b0088a8b7209c4a435427dfe8ad62744f (diff)
downloadllvm-b34ec5969f1ad27f48ebc0d35a3fe37e810a8a32.zip
llvm-b34ec5969f1ad27f48ebc0d35a3fe37e810a8a32.tar.gz
llvm-b34ec5969f1ad27f48ebc0d35a3fe37e810a8a32.tar.bz2
[lld][WebAssembly] Handle weakly referenced symbols when lazy (archive) version is see first
When a weak reference of a lazy symbol occurs we were not correctly updating the lazy symbol. We need to tag the existing lazy symbol as weak and, in the case of a function symbol, give it a signature. Without the signature we can't then create the dummy function which is needed when an weakly undefined function is called. We had tests for weakly referenced lazy symbols but we were only tests in the case where the reference was seen before the lazy symbol. See: https://github.com/WebAssembly/wasi-libc/pull/214 Differential Revision: https://reviews.llvm.org/D85567
Diffstat (limited to 'clang/unittests/Tooling/Syntax/TreeTest.cpp')
0 files changed, 0 insertions, 0 deletions