Skip to content

Commit

Permalink
Merge pull request #2622 from robluo/feature-basic-debug-documentation
Browse files Browse the repository at this point in the history
[documentation] added how to debug build vpr documentation
  • Loading branch information
vaughnbetz authored Jun 20, 2024
2 parents 95b8fee + 7cbfeff commit 8192a19
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 8192a19

Please sign in to comment.