summaryrefslogtreecommitdiff
path: root/src/wasm-binary.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-binary.h')
-rw-r--r--src/wasm-binary.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/wasm-binary.h b/src/wasm-binary.h
index 487979b3a..a1155f684 100644
--- a/src/wasm-binary.h
+++ b/src/wasm-binary.h
@@ -340,6 +340,8 @@ namespace UserSections {
extern const char* Name;
extern const char* SourceMapUrl;
+extern const char* Dylink;
+
enum Subsection {
NameFunction = 1,
NameLocal = 2,
@@ -713,7 +715,9 @@ public:
void writeNames();
void writeSourceMapUrl();
void writeSymbolMap();
- void writeUserSections();
+ void writeEarlyUserSections();
+ void writeLateUserSections();
+ void writeUserSection(const UserSection& section);
void writeSourceMapProlog();
void writeSourceMapEpilog();