diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-11-10 16:45:27 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-10 16:45:27 -0800 |
commit | a3afc150c3768b351434c734448b7ab456d17f57 (patch) | |
tree | 8532f1d284164ee94e8606e2daaeebb387bbcbf1 /src/wasm-binary.h | |
parent | 3dac399ba503e05ee014e96a7ce9c82f29f6981c (diff) | |
parent | f0c32b28cb01fe17cf86c0f48b56bb221407ad76 (diff) | |
download | binaryen-a3afc150c3768b351434c734448b7ab456d17f57.tar.gz binaryen-a3afc150c3768b351434c734448b7ab456d17f57.tar.bz2 binaryen-a3afc150c3768b351434c734448b7ab456d17f57.zip |
Merge pull request #831 from WebAssembly/symbol-map
Symbols fixes
Diffstat (limited to 'src/wasm-binary.h')
-rw-r--r-- | src/wasm-binary.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wasm-binary.h b/src/wasm-binary.h index efff5a77b..6ec55f757 100644 --- a/src/wasm-binary.h +++ b/src/wasm-binary.h @@ -527,6 +527,7 @@ class WasmBinaryWriter : public Visitor<WasmBinaryWriter, void> { BufferWithRandomAccess& o; bool debug; bool debugInfo = true; + std::string symbolMap; MixedArena allocator; @@ -537,6 +538,7 @@ public: } void setDebugInfo(bool set) { debugInfo = set; } + void setSymbolMap(std::string set) { symbolMap = set; } void write(); void writeHeader(); @@ -569,6 +571,7 @@ public: void writeFunctionTableDeclaration(); void writeTableElements(); void writeNames(); + void writeSymbolMap(); // helpers void writeInlineString(const char* name); |