Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions scripts/test/generate_lld_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ def generate_wat_files(llvm_bin, emscripten_sysroot):
# were included.
if 'longjmp' in src_file:
link_cmd.append('--strip-debug')
if 'pthread' in src_file:
compile_cmd.append('-pthread')
link_cmd.append('--import-memory')
link_cmd.append('--shared-memory')
if is_shared:
compile_cmd.append('-fPIC')
compile_cmd.append('-fvisibility=default')
Expand Down
2 changes: 1 addition & 1 deletion test/lld/em_asm_pthread.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Build with
//
// emcc a.cpp -pthread -s WASM_BIGINT
// emcc a.cpp -pthread
//

#include <emscripten.h>
Expand Down
Binary file removed test/lld/em_asm_pthread.wasm
Binary file not shown.
Loading
Loading