forked from OSchip/llvm-project
[NFC][scudo] Produce debug info
This commit is contained in:
parent
142d522ded
commit
7c2e58f250
|
@ -10,6 +10,7 @@ set(SCUDO_CFLAGS)
|
|||
list(APPEND SCUDO_CFLAGS
|
||||
-Werror=conversion
|
||||
-Wall
|
||||
-g
|
||||
-nostdinc++)
|
||||
|
||||
# Remove -stdlib= which is unused when passing -nostdinc++.
|
||||
|
|
|
@ -13,6 +13,7 @@ set(SCUDO_UNITTEST_CFLAGS
|
|||
-I${COMPILER_RT_SOURCE_DIR}/lib/scudo/standalone/include
|
||||
-DGTEST_HAS_RTTI=0
|
||||
-DSCUDO_DEBUG=1
|
||||
-g
|
||||
# Extra flags for the C++ tests
|
||||
# TODO(kostyak): find a way to make -fsized-deallocation work
|
||||
-Wno-mismatched-new-delete)
|
||||
|
|
Loading…
Reference in New Issue