From 347fc8a57dcfd9361b05f271a7f2badc929500cf Mon Sep 17 00:00:00 2001 From: Ömer Sinan Ağacan Date: Tue, 1 Oct 2024 23:39:34 +0200 Subject: 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 --- src/wasm-binary.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/wasm-binary.h') 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 debugInfoFileIndices; + std::unordered_map debugInfoSymbolNameIndices; void readNextDebugLocation(); void readSourceMapHeader(); -- cgit v1.2.3