Skip to content

Commit 4082e53

Browse files
authored
docs: Update build instructions suggestions for using Valgrind (#4164)
1 parent 1931f2e commit 4082e53

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

doc/build_wamr.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,3 +347,13 @@ When enabling SIMD for fast interpreter mode, you'll need to enable both SIMD an
347347
348348
cmake .. -DWAMR_BUILD_INTERP=1 -DWAMR_BUILD_FAST_INTERP=1 -DWAMR_BUILD_SIMD=1 -DWAMR_BUILD_LIB_SIMDE=1
349349
```
350+
351+
For Valgrind, begin with the following configurations and add additional ones as needed:
352+
353+
``` Bash
354+
#...
355+
-DCMAKE_BUILD_TYPE=Debug \
356+
-DWAMR_DISABLE_HW_BOUND_CHECK=0 \
357+
-DWAMR_DISABLE_WRITE_GS_BASE=0
358+
#...
359+
```

0 commit comments

Comments
 (0)