Use -fno-limit-debug-info instead of -fstandalone-debug in tests
authorVince Harron <vince@nethacker.com>
Sun, 15 Mar 2015 18:05:53 +0000 (18:05 +0000)
committerVince Harron <vince@nethacker.com>
Sun, 15 Mar 2015 18:05:53 +0000 (18:05 +0000)
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

lldb/test/expression_command/call-function/Makefile
lldb/test/functionalities/data-formatter/data-formatter-skip-summary/Makefile
lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/iterator/Makefile
lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/list/Makefile
lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/string/Makefile
lldb/test/functionalities/data-formatter/data-formatter-synth/Makefile
lldb/test/functionalities/data-formatter/rdar-9974002/Makefile
lldb/test/functionalities/data-formatter/stringprinter/Makefile
lldb/test/functionalities/type_completion/Makefile
lldb/test/lang/cpp/stl/Makefile
lldb/test/python_api/sbvalue_persist/Makefile

index 01a5853..6d41de1 100644 (file)
@@ -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
index b6e6d3a..ef58e75 100644 (file)
@@ -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
index 5644d90..3b720cd 100644 (file)
@@ -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
index 9919689..a7be96b 100644 (file)
@@ -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
index 9919689..a7be96b 100644 (file)
@@ -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
index 011cc07..789db13 100644 (file)
@@ -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
index 011cc07..789db13 100644 (file)
@@ -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
index 2f93166..43edab0 100644 (file)
@@ -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
index afb2a26..b69775d 100644 (file)
@@ -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
index 22f335d..508ed40 100644 (file)
@@ -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
index e746665..0e5ec65 100644 (file)
@@ -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