make --xip and .wamr_mmap configurable from build menu

This commit is contained in:
2026-05-29 00:15:59 +02:00
parent 05a4aa18e4
commit c57ae5fced
10 changed files with 194 additions and 109 deletions

View File

@ -36,10 +36,13 @@ extern "C" EXPORT("wasm_module") int wasm_module(void) {
YC = 0;
ZC = 0;
// "early" starts trace here
sum<0>();
sum<1>();
sum<2>();
// "late" starts trace here
fail_start_trace();
naive_vote();

View File

@ -69,10 +69,13 @@ extern "C" EXPORT("wasm_module") int wasm_module(void) {
YC = 0;
ZC = 0;
// "early" starts trace here
sum<0, SIG_X>();
sum<1, SIG_Y>();
sum<2, SIG_Z>();
// "late" starts trace here
fail_start_trace();
sign_t static_sig = cored_vote();

View File

@ -36,12 +36,15 @@ extern "C" EXPORT("wasm_module") int wasm_module(void) {
YC = 0;
ZC = 0;
// "early" starts trace here
fail_start_trace();
sum<0>();
sum<1>();
sum<2>();
// "late" starts trace here
naive_vote();
fail_stop_trace();

View File

@ -69,12 +69,15 @@ extern "C" EXPORT("wasm_module") int wasm_module(void) {
YC = 0;
ZC = 0;
// "early" starts trace here
fail_start_trace();
sum<0, SIG_X>();
sum<1, SIG_Y>();
sum<2, SIG_Z>();
// "late" starts trace here
sign_t static_sig = cored_vote();
fail_stop_trace();