summaryrefslogtreecommitdiff
path: root/src/wasm/wasm.cpp
diff options
context:
space:
mode:
authorMarcin Kolny <mkolny@amazon.com>2024-08-15 16:40:49 +0100
committerGitHub <noreply@github.com>2024-08-15 08:40:49 -0700
commitad0802226a180d9797d17bb7fee391c0d62f9913 (patch)
tree1b0587bd1ff60556fc1ff092c26b46b62be8489b /src/wasm/wasm.cpp
parentcde2a52fc6d679d53d1c5b72b081992d53e01c6b (diff)
downloadbinaryen-ad0802226a180d9797d17bb7fee391c0d62f9913.tar.gz
binaryen-ad0802226a180d9797d17bb7fee391c0d62f9913.tar.bz2
binaryen-ad0802226a180d9797d17bb7fee391c0d62f9913.zip
Save build ID in a source map (#6799)
This is based on these two proposals: * https://github.com/WebAssembly/tool-conventions/blob/main/BuildId.md * https://github.com/tc39/source-map/blob/main/proposals/debug-id.md
Diffstat (limited to 'src/wasm/wasm.cpp')
-rw-r--r--src/wasm/wasm.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wasm/wasm.cpp b/src/wasm/wasm.cpp
index ae70e4a22..d138e4226 100644
--- a/src/wasm/wasm.cpp
+++ b/src/wasm/wasm.cpp
@@ -36,6 +36,7 @@ const char* Dylink = "dylink";
const char* Dylink0 = "dylink.0";
const char* Linking = "linking";
const char* Producers = "producers";
+const char* BuildId = "build_id";
const char* TargetFeatures = "target_features";
const char* AtomicsFeature = "atomics";
const char* BulkMemoryFeature = "bulk-memory";