diff options
author | Derek Schuff <dschuff@chromium.org> | 2020-06-03 14:07:41 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-03 14:07:41 -0700 |
commit | 0c58de1d350928e5e45594e4642349dc77697725 (patch) | |
tree | 32d1171bd82ec289e148e9b8de43f4ac009df92a /src/asmjs/shared-constants.cpp | |
parent | 0dff178cb4467b07d7bd58713e80b46d15601757 (diff) | |
download | binaryen-0c58de1d350928e5e45594e4642349dc77697725.tar.gz binaryen-0c58de1d350928e5e45594e4642349dc77697725.tar.bz2 binaryen-0c58de1d350928e5e45594e4642349dc77697725.zip |
Reland "Link binaryen tools against the dylib" (#2892)
Reland of #2864
Also ensure a relative install rpath by adding setup to each tool config.
The CMake code is cribbed from LLVM's implementation.
Diffstat (limited to 'src/asmjs/shared-constants.cpp')
-rw-r--r-- | src/asmjs/shared-constants.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/asmjs/shared-constants.cpp b/src/asmjs/shared-constants.cpp index bc5b9d08f..58742fb1d 100644 --- a/src/asmjs/shared-constants.cpp +++ b/src/asmjs/shared-constants.cpp @@ -101,6 +101,13 @@ cashew::IString WASM_I64_UDIV("__wasm_i64_udiv"); cashew::IString WASM_I64_SREM("__wasm_i64_srem"); cashew::IString WASM_I64_UREM("__wasm_i64_urem"); +cashew::IString ASM_FUNC("asmFunc"); +cashew::IString ABORT_FUNC("abort"); +cashew::IString FUNCTION_TABLE("FUNCTION_TABLE"); +cashew::IString NO_RESULT("wasm2js$noresult"); // no result at all +// result in an expression, no temp var +cashew::IString EXPRESSION_RESULT("wasm2js$expresult"); + namespace ABI { namespace wasm2js { |