summaryrefslogtreecommitdiff
path: root/src/s2wasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/s2wasm.h')
-rw-r--r--src/s2wasm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/s2wasm.h b/src/s2wasm.h
index 60aedccf7..b732464d9 100644
--- a/src/s2wasm.h
+++ b/src/s2wasm.h
@@ -963,6 +963,7 @@ private:
size_t offset = triple.offset;
const auto &symbolAddress = staticAddresses.find(name);
if (symbolAddress == staticAddresses.end()) {
+ std::cerr << "Unknown symbol: " << name << '\n';
abort_on("Unknown symbol");
}
curr->value = Literal(symbolAddress->second + offset);