Fixed Memory Leaks. :)
This commit is contained in:
@@ -19,17 +19,17 @@ echo "----------------------"
|
||||
echo ""
|
||||
|
||||
# time g++ -fpermissive src/main.cpp -g -o ./bin/slime --std=c++17 || exit 1
|
||||
time clang++ -D_DEBUG -D_PROFILING -D_DONT_BREAK_ON_ERRORS \
|
||||
time clang++ -D_DEBUG -D_DONT_BREAK_ON_ERRORS \
|
||||
src/main.cpp -g -o ./bin/slime --std=c++17 \
|
||||
-I3rd/ || exit 1
|
||||
# time clang++ -O3 -D_DONT_BREAK_ON_ERRORS \
|
||||
# src/main.cpp -g -o ./bin/slime --std=c++17 \
|
||||
# -I3rd/ || exit 1
|
||||
|
||||
|
||||
echo ""
|
||||
pushd ./bin > /dev/null
|
||||
time ./slime --run-tests
|
||||
time valgrind --track-origins=yes --leak-check=full --show-leak-kinds=all ./slime --run-tests
|
||||
# time ./slime --run-tests
|
||||
|
||||
popd > /dev/null
|
||||
popd > /dev/null
|
||||
|
||||
Reference in New Issue
Block a user