mirror of
https://github.com/gbdev/rgbds.git
synced 2026-05-10 11:51:42 +00:00
Comment the commands to use for profiling and code coverage
This commit is contained in:
@@ -233,11 +233,13 @@ debug:
|
||||
CXXFLAGS="-ggdb3 -O0 -fno-omit-frame-pointer -fno-optimize-sibling-calls"
|
||||
|
||||
# Target used in development to profile with callgrind.
|
||||
# Use `valgrind --tool=callgrind --dump-instr=yes --simulate-cache=yes --collect-jumps=yes ./rgbasm ...`.
|
||||
profile:
|
||||
$Qenv ${MAKE} \
|
||||
CXXFLAGS="-ggdb3 -O3 -fno-omit-frame-pointer -fno-optimize-sibling-calls"
|
||||
|
||||
# Target used in development to inspect code coverage with gcov.
|
||||
# Use `./contrib/coverage.bash`.
|
||||
coverage:
|
||||
$Qenv ${MAKE} \
|
||||
CXXFLAGS="-ggdb3 -Og --coverage -fno-omit-frame-pointer -fno-optimize-sibling-calls"
|
||||
|
||||
Reference in New Issue
Block a user