From d8179402b3bb991f336b19bcca8ccbc60c842166 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Mon, 30 Mar 2020 11:14:29 -0700 Subject: Represent dylink section in IR, so we can update it. (#2715) Update it from wasm-emscripten-finalize when we append to the table. --- src/wasm-binary.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/wasm-binary.h') 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_; } -- cgit v1.2.3