Skip to content

Commit 7cbfeff

Browse files
author
Yulang Luo
committed
[documentation] added how to debug build vpr documentation
1 parent 95b8fee commit 7cbfeff

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.developers.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1092,6 +1092,12 @@ All tests passed (1 assertion in 1 test case)
10921092
# Debugging Aids
10931093
VTR has support for several additional tools/features to aid debugging.
10941094
1095+
## Basic
1096+
To build vpr with make in debug mode, simply add `BUILD_TYPE=debug` at the end of your make command.
1097+
```shell
1098+
$ make vpr BUILD_TYPE=debug
1099+
```
1100+
10951101
## Sanitizers
10961102
VTR can be compiled using *sanitizers* which will detect invalid memory accesses, memory leaks and undefined behaviour (supported by both GCC and LLVM):
10971103
```shell

0 commit comments

Comments
 (0)