diff options
author | Alon Zakai <azakai@google.com> | 2020-03-30 11:14:29 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-30 11:14:29 -0700 |
commit | d8179402b3bb991f336b19bcca8ccbc60c842166 (patch) | |
tree | c70757545451aaebc75d74bede99fe5c1576d90b /src/wasm-binary.h | |
parent | 2b758fbdc46fc8fe5241bcf1ba5bbd81e6d556ed (diff) | |
download | binaryen-d8179402b3bb991f336b19bcca8ccbc60c842166.tar.gz binaryen-d8179402b3bb991f336b19bcca8ccbc60c842166.tar.bz2 binaryen-d8179402b3bb991f336b19bcca8ccbc60c842166.zip |
Represent dylink section in IR, so we can update it. (#2715)
Update it from wasm-emscripten-finalize when we append
to the table.
Diffstat (limited to 'src/wasm-binary.h')
-rw-r--r-- | src/wasm-binary.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wasm-binary.h b/src/wasm-binary.h index a90d5fb5f..1a13dbb75 100644 --- a/src/wasm-binary.h +++ b/src/wasm-binary.h @@ -1011,10 +1011,10 @@ public: void writeNames(); void writeSourceMapUrl(); void writeSymbolMap(); - void writeEarlyUserSections(); void writeLateUserSections(); void writeUserSection(const UserSection& section); void writeFeaturesSection(); + void writeDylinkSection(); void initializeDebugInfo(); void writeSourceMapProlog(); @@ -1257,6 +1257,7 @@ public: static Name escape(Name name); void readNames(size_t); void readFeatures(size_t); + void readDylink(size_t); // Debug information reading helpers void setDebugLocations(std::istream* sourceMap_) { sourceMap = sourceMap_; } |