summaryrefslogtreecommitdiff
path: root/scripts/test/generate_lld_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/test/generate_lld_tests.py')
-rwxr-xr-xscripts/test/generate_lld_tests.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/test/generate_lld_tests.py b/scripts/test/generate_lld_tests.py
index 25a72f885..8338ffbd9 100755
--- a/scripts/test/generate_lld_tests.py
+++ b/scripts/test/generate_lld_tests.py
@@ -34,7 +34,7 @@ def generate_wat_files(llvm_bin, emscripten_root):
print('\n[ building wat files from C sources... ]\n')
lld_path = os.path.join(shared.options.binaryen_test, 'lld')
- for src_file, ext in files_with_extensions(lld_path, ['.c', '.cpp']):
+ for src_file, ext in files_with_extensions(lld_path, ['.c', '.cpp', '.s']):
print('..', src_file)
obj_file = src_file.replace(ext, '.o')
@@ -69,6 +69,7 @@ def generate_wat_files(llvm_bin, emscripten_root):
'--export', '__wasm_call_ctors',
'--export', '__data_end',
'--global-base=568',
+ '--no-gc-sections',
]
# We had a regression where this test only worked if debug names
# were included.