mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-05-07 12:16:24 +00:00
docs: Update build instructions suggestions for using Valgrind (#4164)
This commit is contained in:
parent
1931f2e5d5
commit
4082e53dda
|
@ -347,3 +347,13 @@ When enabling SIMD for fast interpreter mode, you'll need to enable both SIMD an
|
||||||
|
|
||||||
cmake .. -DWAMR_BUILD_INTERP=1 -DWAMR_BUILD_FAST_INTERP=1 -DWAMR_BUILD_SIMD=1 -DWAMR_BUILD_LIB_SIMDE=1
|
cmake .. -DWAMR_BUILD_INTERP=1 -DWAMR_BUILD_FAST_INTERP=1 -DWAMR_BUILD_SIMD=1 -DWAMR_BUILD_LIB_SIMDE=1
|
||||||
```
|
```
|
||||||
|
|
||||||
|
For Valgrind, begin with the following configurations and add additional ones as needed:
|
||||||
|
|
||||||
|
``` Bash
|
||||||
|
#...
|
||||||
|
-DCMAKE_BUILD_TYPE=Debug \
|
||||||
|
-DWAMR_DISABLE_HW_BOUND_CHECK=0 \
|
||||||
|
-DWAMR_DISABLE_WRITE_GS_BASE=0
|
||||||
|
#...
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user