diff options
author | Sam Clegg <sbc@chromium.org> | 2025-02-26 14:05:00 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-26 14:05:00 -0800 |
commit | 147d9d6915cd64d9f4b8c752a6f149a7ffb29e3b (patch) | |
tree | acf9e04212c3f9b887497cd091e0074f58d36589 /clang/lib/Lex/ModuleMap.cpp | |
parent | 469757efafebdd5772d993fca4dc0dfa7cbda17c (diff) | |
download | llvm-147d9d6915cd64d9f4b8c752a6f149a7ffb29e3b.zip llvm-147d9d6915cd64d9f4b8c752a6f149a7ffb29e3b.tar.gz llvm-147d9d6915cd64d9f4b8c752a6f149a7ffb29e3b.tar.bz2 |
[WebAssemblyLowerEmscriptenEHSjLj] Avoid setting import_name where possible (#128564)
This change effectively reverts 296ccef
(https://reviews.llvm.org/D77192)
Most of these symbols are just normal C symbols that get imported from
wither libcompiler-rt or from emscripten's JS library code. In most
cases it should not be necessary to give them explicit import names.
The advantage of doing this is that we can wasm-ld can/will fail with a
useful error message when these symbols are missing. As opposed to today
where it will simply import them and defer errors until later (when they
are less specific).
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions