added valgrind info
This commit is contained in:
parent
5147ae3756
commit
1b7ed56f6f
@ -40,10 +40,11 @@ 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 use code sanitizers use:
|
||||
- cmake . -DSANITIZE_ADDRESS=ON
|
||||
- cmake . -DSANITIZE_MEMORY=ON -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
|
||||
- cmake . -DSANITIZE_THREAD=ON
|
||||
- cmake . -DSANITIZE_UNDEFINED=ON
|
||||
- `cmake . -DSANITIZE_ADDRESS=ON`
|
||||
- `cmake . -DSANITIZE_MEMORY=ON -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++`
|
||||
- `cmake . -DSANITIZE_THREAD=ON`
|
||||
- `cmake . -DSANITIZE_UNDEFINED=ON`
|
||||
- Running valgrind example `valgrind --leak-check=yes --tool=memcheck ./nextpnr-ice40 --json ice40/blinky.json`
|
||||
|
||||
Running
|
||||
--------
|
||||
|
Loading…
Reference in New Issue
Block a user