added valgrind info
This commit is contained in:
parent
5147ae3756
commit
1b7ed56f6f
11
README.md
11
README.md
@ -40,11 +40,12 @@ Testing
|
|||||||
|
|
||||||
- To build test binaries as well, run `cmake -DBUILD_TESTS=OFF .` and after run `make tests` to run them, or you can run separate binaries.
|
- To build test binaries as well, run `cmake -DBUILD_TESTS=OFF .` and after run `make tests` to run them, or you can run separate binaries.
|
||||||
- To use code sanitizers use:
|
- To use code sanitizers use:
|
||||||
- cmake . -DSANITIZE_ADDRESS=ON
|
- `cmake . -DSANITIZE_ADDRESS=ON`
|
||||||
- cmake . -DSANITIZE_MEMORY=ON -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
|
- `cmake . -DSANITIZE_MEMORY=ON -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++`
|
||||||
- cmake . -DSANITIZE_THREAD=ON
|
- `cmake . -DSANITIZE_THREAD=ON`
|
||||||
- cmake . -DSANITIZE_UNDEFINED=ON
|
- `cmake . -DSANITIZE_UNDEFINED=ON`
|
||||||
|
- Running valgrind example `valgrind --leak-check=yes --tool=memcheck ./nextpnr-ice40 --json ice40/blinky.json`
|
||||||
|
|
||||||
Running
|
Running
|
||||||
--------
|
--------
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user