diff options
| author | Vince Harron <vharron@google.com> | 2015-02-28 01:07:50 +0000 |
|---|---|---|
| committer | Vince Harron <vharron@google.com> | 2015-02-28 01:07:50 +0000 |
| commit | 5a6b8aa4dd198da5ee6f1ddceda869f7d86e3e10 (patch) | |
| tree | 19771eede093e0ba35a4f42bcd75fa967a54e03d /lldb/test/python_api | |
| parent | 91c18de7556f9524c62f655ccdda94adf3848092 (diff) | |
| download | bcm5719-llvm-5a6b8aa4dd198da5ee6f1ddceda869f7d86e3e10.tar.gz bcm5719-llvm-5a6b8aa4dd198da5ee6f1ddceda869f7d86e3e10.zip | |
Use -fstandalone-debug for few tests to get around a Clang optimization
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
Diffstat (limited to 'lldb/test/python_api')
| -rw-r--r-- | lldb/test/python_api/sbvalue_persist/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lldb/test/python_api/sbvalue_persist/Makefile b/lldb/test/python_api/sbvalue_persist/Makefile index ddffdcfb62d..e7466655cfe 100644 --- a/lldb/test/python_api/sbvalue_persist/Makefile +++ b/lldb/test/python_api/sbvalue_persist/Makefile @@ -5,4 +5,11 @@ CXX_SOURCES := main.cpp # Clean renamed executable on 'make clean' clean: OBJECTS+=no_synth +# 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 |

