From e595c6bf3c399f21de8effd90547ef6ee8f87c85 Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Thu, 28 Feb 2013 18:47:39 +0000 Subject: [PATCH] Replace all "-gdwarf-2" with "-g" to use the compiler defaults. llvm-svn: 176283 --- lldb/test/functionalities/load_unload/Makefile | 2 +- lldb/test/lang/c/const_variables/Makefile | 2 +- lldb/test/lang/cpp/char1632_t/Makefile | 2 +- lldb/test/lang/cpp/rdar12991846/Makefile | 2 +- lldb/test/lang/cpp/stl/Makefile | 2 +- lldb/test/lang/cpp/wchar_t/Makefile | 2 +- lldb/test/lang/objc/objc-optimized/Makefile | 2 +- lldb/test/make/Makefile.rules | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/lldb/test/functionalities/load_unload/Makefile b/lldb/test/functionalities/load_unload/Makefile index e934391..e8ba19b 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 69dc250..58d04f0 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 4781f2d..932046f 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 f447fee..1476447 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 479b6d6..fe27980 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 479b6d6..fe27980 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 a8cf6b9..aa6a752 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 dd90341..e065eb1 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) -- 2.7.4