diff options
Diffstat (limited to 'test/passes/dwarf_with_exceptions.cpp')
-rw-r--r-- | test/passes/dwarf_with_exceptions.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/test/passes/dwarf_with_exceptions.cpp b/test/passes/dwarf_with_exceptions.cpp index 283b30064..5854202e1 100644 --- a/test/passes/dwarf_with_exceptions.cpp +++ b/test/passes/dwarf_with_exceptions.cpp @@ -7,8 +7,12 @@ void dwarf_with_exceptions() { } } // How to generate dwarf_with_exceptions.wasm: -// $ clang++ -std=c++14 --target=wasm32-unknown-unknown -g -fwasm-exceptions -Xclang -disable-O0-optnone -c -S -emit-llvm dwarf_with_exceptions.cpp -o temp.ll +// $ clang++ -std=c++14 --target=wasm32-unknown-unknown -g -fwasm-exceptions \ +// -Xclang -disable-O0-optnone -c -S -emit-llvm +// dwarf_with_exceptions.cpp -o temp.ll // $ opt -S -mem2reg -simplifycfg temp.ll -o dwarf_with_exceptions.ll // Remove some personal info from dwarf_with_exceptions.ll -// $ llc -exception-model=wasm -mattr=+exception-handling -filetype=obj dwarf_with_exceptions.ll -o dwarf_with_exceptions.o -// $ wasm-ld --no-entry --no-gc-sections --allow-undefined dwarf_with_exceptions.o -o dwarf_with_exceptions.wasm +// $ llc -exception-model=wasm -mattr=+exception-handling -filetype=obj \ +// dwarf_with_exceptions.ll -o dwarf_with_exceptions.o +// $ wasm-ld --no-entry --no-gc-sections --allow-undefined \ +// dwarf_with_exceptions.o -o dwarf_with_exceptions.wasm |