summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/test/functionalities/load_unload/Makefile2
-rw-r--r--lldb/test/lang/c/const_variables/Makefile2
-rw-r--r--lldb/test/lang/cpp/char1632_t/Makefile2
-rw-r--r--lldb/test/lang/cpp/rdar12991846/Makefile2
-rw-r--r--lldb/test/lang/cpp/stl/Makefile2
-rw-r--r--lldb/test/lang/cpp/wchar_t/Makefile2
-rw-r--r--lldb/test/lang/objc/objc-optimized/Makefile2
-rw-r--r--lldb/test/make/Makefile.rules2
8 files changed, 8 insertions, 8 deletions
diff --git a/lldb/test/functionalities/load_unload/Makefile b/lldb/test/functionalities/load_unload/Makefile
index e9343918f88..e8ba19b5131 100644
--- a/lldb/test/functionalities/load_unload/Makefile
+++ b/lldb/test/functionalities/load_unload/Makefile
@@ -4,7 +4,7 @@ CC ?= clang
ifeq "$(ARCH)" ""
ARCH = x86_64
endif
-CFLAGS ?=-arch $(ARCH) -gdwarf-2 -O0
+CFLAGS ?=-arch $(ARCH) -g -O0
CWD := $(shell pwd)
all: a.out hidden/libd.dylib
diff --git a/lldb/test/lang/c/const_variables/Makefile b/lldb/test/lang/c/const_variables/Makefile
index 69dc250a71f..58d04f07b66 100644
--- a/lldb/test/lang/c/const_variables/Makefile
+++ b/lldb/test/lang/c/const_variables/Makefile
@@ -2,6 +2,6 @@ LEVEL = ../../../make
C_SOURCES := main.c functions.c
-CFLAGS ?= -gdwarf-2 -O3
+CFLAGS ?= -g -O3
include $(LEVEL)/Makefile.rules
diff --git a/lldb/test/lang/cpp/char1632_t/Makefile b/lldb/test/lang/cpp/char1632_t/Makefile
index 4781f2db05f..932046f2696 100644
--- a/lldb/test/lang/cpp/char1632_t/Makefile
+++ b/lldb/test/lang/cpp/char1632_t/Makefile
@@ -1,7 +1,7 @@
LEVEL = ../../../make
CXX_SOURCES := main.cpp
-CFLAGS :=-gdwarf-2 -O0 -std=c++11
+CFLAGS :=-g -O0 -std=c++11
clean: OBJECTS+=$(wildcard main.d.*)
diff --git a/lldb/test/lang/cpp/rdar12991846/Makefile b/lldb/test/lang/cpp/rdar12991846/Makefile
index f447fee0197..1476447db35 100644
--- a/lldb/test/lang/cpp/rdar12991846/Makefile
+++ b/lldb/test/lang/cpp/rdar12991846/Makefile
@@ -1,7 +1,7 @@
LEVEL = ../../../make
CXX_SOURCES := main.cpp
-CFLAGS := -gdwarf-2 -O0 -std=c++11
+CFLAGS := -g -O0 -std=c++11
clean: OBJECTS+=$(wildcard main.d.*)
diff --git a/lldb/test/lang/cpp/stl/Makefile b/lldb/test/lang/cpp/stl/Makefile
index 479b6d6b693..fe27980afe9 100644
--- a/lldb/test/lang/cpp/stl/Makefile
+++ b/lldb/test/lang/cpp/stl/Makefile
@@ -1,7 +1,7 @@
LEVEL = ../../../make
CXX_SOURCES := main.cpp
-CFLAGS := -gdwarf-2 -O0
+CFLAGS := -g -O0
clean: OBJECTS+=$(wildcard main.d.*)
diff --git a/lldb/test/lang/cpp/wchar_t/Makefile b/lldb/test/lang/cpp/wchar_t/Makefile
index 479b6d6b693..fe27980afe9 100644
--- a/lldb/test/lang/cpp/wchar_t/Makefile
+++ b/lldb/test/lang/cpp/wchar_t/Makefile
@@ -1,7 +1,7 @@
LEVEL = ../../../make
CXX_SOURCES := main.cpp
-CFLAGS := -gdwarf-2 -O0
+CFLAGS := -g -O0
clean: OBJECTS+=$(wildcard main.d.*)
diff --git a/lldb/test/lang/objc/objc-optimized/Makefile b/lldb/test/lang/objc/objc-optimized/Makefile
index a8cf6b98194..aa6a7520525 100644
--- a/lldb/test/lang/objc/objc-optimized/Makefile
+++ b/lldb/test/lang/objc/objc-optimized/Makefile
@@ -2,7 +2,7 @@ LEVEL = ../../../make
OBJC_SOURCES := main.m
-CFLAGS ?= -arch $(ARCH) -gdwarf-2 -O2
+CFLAGS ?= -arch $(ARCH) -g -O2
LDFLAGS = $(CFLAGS) -lobjc -framework Foundation
include $(LEVEL)/Makefile.rules
diff --git a/lldb/test/make/Makefile.rules b/lldb/test/make/Makefile.rules
index dd90341db54..e065eb1d085 100644
--- a/lldb/test/make/Makefile.rules
+++ b/lldb/test/make/Makefile.rules
@@ -81,7 +81,7 @@ else
endif
endif
-CFLAGS ?= -gdwarf-2 -O0
+CFLAGS ?= -g -O0
CFLAGS += $(ARCHFLAG)$(ARCH) $(FRAMEWORK_INCLUDES) $(CFLAGS_EXTRAS)
CXXFLAGS +=$(CFLAGS)
OpenPOWER on IntegriCloud