[PATCH] D99887: [lld][WebAssembly] Add `--export-if-defined`
Sam Clegg via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 5 16:16:35 PDT 2021
sbc100 added a comment.
In D99887#2669582 <https://reviews.llvm.org/D99887#2669582>, @MaskRay wrote:
> I don't know wasm enough... In ELF, `--export-dynamic-symbol` only affects defined symbols. `--export-dynamic` affects all defined symbols. They don't have effect on other symbols.
Interesting.. aside from not really conveying its meaning clearly `--export-dynamic-symbol` sounds like it might be what we want here.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D99887/new/
https://reviews.llvm.org/D99887
More information about the llvm-commits
mailing list