[NFC][scudo] Produce debug info

This commit is contained in:
Vitaly Buka 2021-03-30 00:21:20 -07:00
parent 142d522ded
commit 7c2e58f250
2 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,7 @@ set(SCUDO_CFLAGS)
list(APPEND SCUDO_CFLAGS list(APPEND SCUDO_CFLAGS
-Werror=conversion -Werror=conversion
-Wall -Wall
-g
-nostdinc++) -nostdinc++)
# Remove -stdlib= which is unused when passing -nostdinc++. # Remove -stdlib= which is unused when passing -nostdinc++.

View File

@ -13,6 +13,7 @@ set(SCUDO_UNITTEST_CFLAGS
-I${COMPILER_RT_SOURCE_DIR}/lib/scudo/standalone/include -I${COMPILER_RT_SOURCE_DIR}/lib/scudo/standalone/include
-DGTEST_HAS_RTTI=0 -DGTEST_HAS_RTTI=0
-DSCUDO_DEBUG=1 -DSCUDO_DEBUG=1
-g
# Extra flags for the C++ tests # Extra flags for the C++ tests
# TODO(kostyak): find a way to make -fsized-deallocation work # TODO(kostyak): find a way to make -fsized-deallocation work
-Wno-mismatched-new-delete) -Wno-mismatched-new-delete)