-
Notifications
You must be signed in to change notification settings - Fork 578
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Random improvements to samples/native-stack-overflow (#3353)
- Loading branch information
Showing
7 changed files
with
124 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
rm -r cmake_build cmake_build_disable_hw_bound out | ||
rm -rf cmake_build cmake_build_disable_hw_bound out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,20 @@ | ||
#!/bin/bash | ||
#! /bin/sh | ||
|
||
echo "====== Interpreter" | ||
out/native-stack-overflow out/wasm-apps/testapp.wasm | ||
set -e | ||
|
||
NAME=${1:-test1} | ||
|
||
echo "====== Interpreter ${NAME}" | ||
out/native-stack-overflow out/wasm-apps/testapp.wasm ${NAME} | ||
|
||
echo | ||
echo "====== Interpreter WAMR_DISABLE_HW_BOUND_CHECK=1 ${NAME}" | ||
out/native-stack-overflow.WAMR_DISABLE_HW_BOUND_CHECK out/wasm-apps/testapp.wasm ${NAME} | ||
|
||
echo | ||
echo "====== AOT" | ||
out/native-stack-overflow out/wasm-apps/testapp.wasm.aot | ||
echo "====== AOT ${NAME}" | ||
out/native-stack-overflow out/wasm-apps/testapp.wasm.aot ${NAME} | ||
|
||
echo | ||
echo "====== AOT WAMR_DISABLE_HW_BOUND_CHECK=1" | ||
out/native-stack-overflow.WAMR_DISABLE_HW_BOUND_CHECK out/wasm-apps/testapp.wasm.aot.bounds-checks | ||
echo "====== AOT WAMR_DISABLE_HW_BOUND_CHECK=1 ${NAME}" | ||
out/native-stack-overflow.WAMR_DISABLE_HW_BOUND_CHECK out/wasm-apps/testapp.wasm.aot.bounds-checks ${NAME} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters