summaryrefslogtreecommitdiff
path: root/src/wasm-binary.h
diff options
context:
space:
mode:
authorÖmer Sinan Ağacan <omeragacan@gmail.com>2024-10-01 23:39:34 +0200
committerGitHub <noreply@github.com>2024-10-01 14:39:34 -0700
commit347fc8a57dcfd9361b05f271a7f2badc929500cf (patch)
tree362a40ae7bc9bcb9e8c40967505d3414691f6af6 /src/wasm-binary.h
parentcb53f0c6966fe7c8e5cc1a975eab9653b5914bde (diff)
downloadbinaryen-347fc8a57dcfd9361b05f271a7f2badc929500cf.tar.gz
binaryen-347fc8a57dcfd9361b05f271a7f2badc929500cf.tar.bz2
binaryen-347fc8a57dcfd9361b05f271a7f2badc929500cf.zip
Source Maps: Support 5 segment mappings (#6795)
Support 5-segment source mappings, which add a name. Reference: https://github.com/tc39/source-map/blob/main/source-map-rev3.md#proposed-format
Diffstat (limited to 'src/wasm-binary.h')
-rw-r--r--src/wasm-binary.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wasm-binary.h b/src/wasm-binary.h
index 35f131952..3c59ed3aa 100644
--- a/src/wasm-binary.h
+++ b/src/wasm-binary.h
@@ -1674,6 +1674,7 @@ public:
// Debug information reading helpers
void setDebugLocations(std::istream* sourceMap_) { sourceMap = sourceMap_; }
std::unordered_map<std::string, Index> debugInfoFileIndices;
+ std::unordered_map<std::string, Index> debugInfoSymbolNameIndices;
void readNextDebugLocation();
void readSourceMapHeader();