[PATCH] D99887: [lld][WebAssembly] Add `--export-if-defined`
Derek Schuff via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 5 14:07:03 PDT 2021
dschuff added a comment.
Pre-existing, but what does `--export` plus `--allow-undefined` do?
================
Comment at: lld/wasm/Driver.cpp:890
// Handle the `--export <sym>` options
// This works like --undefined but also exports the symbol if its found
+ for (auto &iter : config->exportedSymbols)
----------------
should this comment no longer say "if its found"? If it's not found, the whole process should error, right?
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