diff options
-rw-r--r-- | src/s2wasm.h | 2 | ||||
-rwxr-xr-x | test/llvm_autogenerated/llvm-to-s.py | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/s2wasm.h b/src/s2wasm.h index cc38dd276..2f9b4c8d8 100644 --- a/src/s2wasm.h +++ b/src/s2wasm.h @@ -1070,7 +1070,7 @@ private: // must be a function address if (wasm.functionsMap.count(name) == 0) { std::cerr << "Unknown symbol: " << name << '\n'; - abort_on("Unknown symbol"); + abort(); } ensureFunctionIndex(name); *(relocation.data) = functionIndexes[name] + relocation.offset; diff --git a/test/llvm_autogenerated/llvm-to-s.py b/test/llvm_autogenerated/llvm-to-s.py index ae73c167b..aea7d722c 100755 --- a/test/llvm_autogenerated/llvm-to-s.py +++ b/test/llvm_autogenerated/llvm-to-s.py @@ -56,6 +56,7 @@ def main(args): BLACKLIST = ['inline-asm', # inline asm containing invalid syntax 'returned', # external global symbol 'vtable', # external global symbol + 'offset-folding', # external global symbol ] if name_noext in BLACKLIST: continue |