From 4f9151dec445abb901ae22d8d4db5c5ea8e4c528 Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Fri, 25 Oct 2019 14:19:12 -0700 Subject: When renaming functions ensure the corresponding GOT.func entry is also renamed (#2382) Fixes https://github.com/WebAssembly/binaryen/issues/2180 --- scripts/test/generate_lld_tests.py | 3 ++- scripts/test/shared.py | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts/test') diff --git a/scripts/test/generate_lld_tests.py b/scripts/test/generate_lld_tests.py index b5cb6b140..2279482eb 100755 --- a/scripts/test/generate_lld_tests.py +++ b/scripts/test/generate_lld_tests.py @@ -50,7 +50,8 @@ def generate_wast_files(llvm_bin, emscripten_root): compile_cmd = [ os.path.join(llvm_bin, 'clang'), src_path, '-o', obj_path, - '--target=wasm32-unknown-unknown-wasm', + '--target=wasm32-emscripten', + '-mllvm', '-enable-emscripten-sjlj', '-c', '-nostdinc', '-Xclang', '-nobuiltininc', diff --git a/scripts/test/shared.py b/scripts/test/shared.py index 8d30ecaa0..f8d575656 100644 --- a/scripts/test/shared.py +++ b/scripts/test/shared.py @@ -43,7 +43,6 @@ def parse_args(args): action='store_false', help=('If set, the whole test suite will run to completion independent of' ' earlier errors.')) - parser.add_argument( '--interpreter', dest='interpreter', default='', help='Specifies the wasm interpreter executable to run tests on.') @@ -60,7 +59,7 @@ def parse_args(args): parser.add_argument( '--out-dir', dest='out_dir', default='', help=('Specifies a path to the output directory for temp files, which ' - 'is also where the test runner changes directory into.', + 'is also where the test runner changes directory into.' ' Default:. out/test under the binaryen root.')) parser.add_argument( '--valgrind', dest='valgrind', default='', -- cgit v1.2.3