clang-3.5+ outputs FullDebugInfo by default for Darwin/FreeBSD targets. Other targets do not, which causes several tests to fail. This flag enables FullDebugInfo for all targets. Fixes the following tests: TestCallStdStringFunction.py TestDataFormatterSkipSummary.py TestDataFormatterStdIterator.py TestDataFormatterStdList.py TestDataFormatterStdString.py TestSBValuePersist.py TestStringPrinter.py TestTypeCompletion.py llvm-svn: 230831
16 lines
371 B
Makefile
16 lines
371 B
Makefile
LEVEL = ../../make
|
|
|
|
CXX_SOURCES := main.cpp
|
|
|
|
# clang-3.5+ outputs FullDebugInfo by default for Darwin/FreeBSD
|
|
# targets. Other targets do not, which causes this test to fail.
|
|
# This flag enables FullDebugInfo for all targets.
|
|
ifneq (,$(findstring clang,$(CC)))
|
|
CFLAGS_EXTRAS := -fstandalone-debug
|
|
endif
|
|
|
|
include $(LEVEL)/Makefile.rules
|
|
|
|
clean::
|
|
rm -rf *.o *.d *.dSYM
|