aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ELFObjectFile.cpp
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2024-01-19 09:32:22 -0800
committerGitHub <noreply@github.com>2024-01-19 09:32:22 -0800
commit5b0e45c8cec8d6a95c22fcd20e7161d57ccafca1 (patch)
tree71bc29a0ca4c5232d42de0335a2715b1b2439e6e /llvm/lib/Object/ELFObjectFile.cpp
parentb6677835fed3a204fa043e079a135c4a225d2c0e (diff)
downloadllvm-5b0e45c8cec8d6a95c22fcd20e7161d57ccafca1.zip
llvm-5b0e45c8cec8d6a95c22fcd20e7161d57ccafca1.tar.gz
llvm-5b0e45c8cec8d6a95c22fcd20e7161d57ccafca1.tar.bz2
[lld][WebAssembly] Fix use of undefined funcs under --warn-unresolved-symbols (#78643)
When undefined functions exist in the final link we need to create stub functions (otherwise direct calls to those functions could not be generated). We were creating those stub when `--unresolved-symbols=ignore-all` was passed but overlooked the fact that `--warn-unresolved-symbols` essentially has the same effect (i.e. undefined function can exist in the final link). Fixes: #53987
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions