[PATCH] D140111: [lld][wasm] Split __wasm_apply_data_relocs when it exceeds the function size limit
Illia Malachyn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 20 06:03:09 PST 2022
k1nder10 marked an inline comment as done.
k1nder10 added inline comments.
================
Comment at: lld/wasm/ApplyDataRelocsSplitter.cpp:41
+ if (pos == std::string::npos)
+ throw "No instruction opcode found";
+
----------------
As I understand, you build a wasm linker with -fno-exceptions right?
How should I rewrite such code?
Adding an assertion would work in a debug build but what about the release one?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D140111/new/
https://reviews.llvm.org/D140111
More information about the llvm-commits
mailing list