We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 005e14c commit 4717cfdCopy full SHA for 4717cfd
lld/wasm/InputChunks.cpp
@@ -384,6 +384,8 @@ void InputChunk::generateRelocationCode(std::vector<std::string> &funcs) const {
384
if (!requiresRuntimeReloc)
385
continue;
386
387
+ // https://source.chromium.org/chromium/chromium/src/+/main:v8/src/wasm/wasm-limits.h;l=51
388
+ // constexpr size_t kV8MaxWasmFunctionSize = 7'654'321;
389
if (funcs.empty() || funcs.back().size() >= 7654300) {
390
funcs.emplace_back(std::string());
391
raw_string_ostream os(funcs.back());
0 commit comments