From: Vince Harron Date: Sun, 15 Mar 2015 18:05:53 +0000 (+0000) Subject: Use -fno-limit-debug-info instead of -fstandalone-debug in tests X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b63c1880f211adf828aa731259e3222a3261ed9e;p=platform%2Fupstream%2Fllvm.git Use -fno-limit-debug-info instead of -fstandalone-debug in tests This fixes tests on clang-3.4 AFAICT, these flags have the same affect and -fstandalone-debug wasn't added until after clang-3.4 Committed to try to fix buildbot Differential Revision: http://reviews.llvm.org/D8347 llvm-svn: 232326 --- diff --git a/lldb/test/expression_command/call-function/Makefile b/lldb/test/expression_command/call-function/Makefile index 01a5853..6d41de1 100644 --- a/lldb/test/expression_command/call-function/Makefile +++ b/lldb/test/expression_command/call-function/Makefile @@ -6,7 +6,7 @@ CXX_SOURCES := main.cpp # 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 + CFLAGS_EXTRAS := -fno-limit-debug-info endif include $(LEVEL)/Makefile.rules diff --git a/lldb/test/functionalities/data-formatter/data-formatter-skip-summary/Makefile b/lldb/test/functionalities/data-formatter/data-formatter-skip-summary/Makefile index b6e6d3a..ef58e75 100644 --- a/lldb/test/functionalities/data-formatter/data-formatter-skip-summary/Makefile +++ b/lldb/test/functionalities/data-formatter/data-formatter-skip-summary/Makefile @@ -6,7 +6,7 @@ CXX_SOURCES := main.cpp # 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 + CFLAGS_EXTRAS := -fno-limit-debug-info endif include $(LEVEL)/Makefile.rules diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/iterator/Makefile b/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/iterator/Makefile index 5644d90..3b720cd 100644 --- a/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/iterator/Makefile +++ b/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/iterator/Makefile @@ -9,7 +9,7 @@ USE_LIBSTDCPP := 1 # 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 + CFLAGS_EXTRAS := -fno-limit-debug-info endif include $(LEVEL)/Makefile.rules diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/list/Makefile b/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/list/Makefile index 9919689..a7be96b 100644 --- a/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/list/Makefile +++ b/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/list/Makefile @@ -9,7 +9,7 @@ USE_LIBSTDCPP := 1 # 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 + CFLAGS_EXTRAS += -fno-limit-debug-info endif include $(LEVEL)/Makefile.rules diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/string/Makefile b/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/string/Makefile index 9919689..a7be96b 100644 --- a/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/string/Makefile +++ b/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/string/Makefile @@ -9,7 +9,7 @@ USE_LIBSTDCPP := 1 # 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 + CFLAGS_EXTRAS += -fno-limit-debug-info endif include $(LEVEL)/Makefile.rules diff --git a/lldb/test/functionalities/data-formatter/data-formatter-synth/Makefile b/lldb/test/functionalities/data-formatter/data-formatter-synth/Makefile index 011cc07..789db13 100644 --- a/lldb/test/functionalities/data-formatter/data-formatter-synth/Makefile +++ b/lldb/test/functionalities/data-formatter/data-formatter-synth/Makefile @@ -6,7 +6,7 @@ CXX_SOURCES := main.cpp # 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 + CFLAGS_EXTRAS := -fno-limit-debug-info endif include $(LEVEL)/Makefile.rules diff --git a/lldb/test/functionalities/data-formatter/rdar-9974002/Makefile b/lldb/test/functionalities/data-formatter/rdar-9974002/Makefile index 011cc07..789db13 100644 --- a/lldb/test/functionalities/data-formatter/rdar-9974002/Makefile +++ b/lldb/test/functionalities/data-formatter/rdar-9974002/Makefile @@ -6,7 +6,7 @@ CXX_SOURCES := main.cpp # 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 + CFLAGS_EXTRAS := -fno-limit-debug-info endif include $(LEVEL)/Makefile.rules diff --git a/lldb/test/functionalities/data-formatter/stringprinter/Makefile b/lldb/test/functionalities/data-formatter/stringprinter/Makefile index 2f93166..43edab0 100644 --- a/lldb/test/functionalities/data-formatter/stringprinter/Makefile +++ b/lldb/test/functionalities/data-formatter/stringprinter/Makefile @@ -6,7 +6,7 @@ CXXFLAGS += -std=c++11 # 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 + CFLAGS_EXTRAS := -fno-limit-debug-info endif include $(LEVEL)/Makefile.rules diff --git a/lldb/test/functionalities/type_completion/Makefile b/lldb/test/functionalities/type_completion/Makefile index afb2a26..b69775d 100644 --- a/lldb/test/functionalities/type_completion/Makefile +++ b/lldb/test/functionalities/type_completion/Makefile @@ -6,7 +6,7 @@ CXX_SOURCES := main.cpp # 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 + CFLAGS_EXTRAS += -fno-limit-debug-info endif include $(LEVEL)/Makefile.rules diff --git a/lldb/test/lang/cpp/stl/Makefile b/lldb/test/lang/cpp/stl/Makefile index 22f335d..508ed40 100644 --- a/lldb/test/lang/cpp/stl/Makefile +++ b/lldb/test/lang/cpp/stl/Makefile @@ -9,7 +9,7 @@ clean: OBJECTS+=$(wildcard main.d.*) # 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 + CFLAGS_EXTRAS := -fno-limit-debug-info endif include $(LEVEL)/Makefile.rules diff --git a/lldb/test/python_api/sbvalue_persist/Makefile b/lldb/test/python_api/sbvalue_persist/Makefile index e746665..0e5ec65 100644 --- a/lldb/test/python_api/sbvalue_persist/Makefile +++ b/lldb/test/python_api/sbvalue_persist/Makefile @@ -9,7 +9,7 @@ clean: OBJECTS+=no_synth # 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 + CFLAGS_EXTRAS := -fno-limit-debug-info endif include $(LEVEL)/Makefile.rules