Skip to content

Commit

Permalink
[documentation] added how to debug build vpr documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Yulang Luo committed Jun 20, 2024
1 parent 95b8fee commit 7cbfeff
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.developers.md
Original file line number Diff line number Diff line change
Expand Up @@ -1092,6 +1092,12 @@ All tests passed (1 assertion in 1 test case)
# Debugging Aids
VTR has support for several additional tools/features to aid debugging.
## Basic
To build vpr with make in debug mode, simply add `BUILD_TYPE=debug` at the end of your make command.
```shell
$ make vpr BUILD_TYPE=debug
```
## Sanitizers
VTR can be compiled using *sanitizers* which will detect invalid memory accesses, memory leaks and undefined behaviour (supported by both GCC and LLVM):
```shell
Expand Down

0 comments on commit 7cbfeff

Please sign in to comment.