diff options
Diffstat (limited to 'src/wasm-emscripten.h')
-rw-r--r-- | src/wasm-emscripten.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/wasm-emscripten.h b/src/wasm-emscripten.h index d078cafbf..275c809fd 100644 --- a/src/wasm-emscripten.h +++ b/src/wasm-emscripten.h @@ -57,7 +57,10 @@ public: void fixInvokeFunctionNames(); - void separateDataSegments(Output* outfile); + // Emits the data segments to a file. The file contains data from address base + // onwards (we must pass in base, as we can't tell it from the wasm - the first + // segment may start after a run of zeros, but we need those zeros in the file). + void separateDataSegments(Output* outfile, Address base); private: Module& wasm; |