[Lldb-commits] [lldb] r176283 - Replace all "-gdwarf-2" with "-g" to use the compiler defaults.

Greg Clayton gclayton at apple.com
Thu Feb 28 10:47:39 PST 2013


Author: gclayton
Date: Thu Feb 28 12:47:39 2013
New Revision: 176283

URL: http://llvm.org/viewvc/llvm-project?rev=176283&view=rev
Log:
Replace all "-gdwarf-2" with "-g" to use the compiler defaults.


Modified:
    lldb/trunk/test/functionalities/load_unload/Makefile
    lldb/trunk/test/lang/c/const_variables/Makefile
    lldb/trunk/test/lang/cpp/char1632_t/Makefile
    lldb/trunk/test/lang/cpp/rdar12991846/Makefile
    lldb/trunk/test/lang/cpp/stl/Makefile
    lldb/trunk/test/lang/cpp/wchar_t/Makefile
    lldb/trunk/test/lang/objc/objc-optimized/Makefile
    lldb/trunk/test/make/Makefile.rules

Modified: lldb/trunk/test/functionalities/load_unload/Makefile
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/load_unload/Makefile?rev=176283&r1=176282&r2=176283&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/load_unload/Makefile (original)
+++ lldb/trunk/test/functionalities/load_unload/Makefile Thu Feb 28 12:47:39 2013
@@ -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

Modified: lldb/trunk/test/lang/c/const_variables/Makefile
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/c/const_variables/Makefile?rev=176283&r1=176282&r2=176283&view=diff
==============================================================================
--- lldb/trunk/test/lang/c/const_variables/Makefile (original)
+++ lldb/trunk/test/lang/c/const_variables/Makefile Thu Feb 28 12:47:39 2013
@@ -2,6 +2,6 @@ LEVEL = ../../../make
 
 C_SOURCES := main.c functions.c
 
-CFLAGS ?= -gdwarf-2 -O3
+CFLAGS ?= -g -O3
 
 include $(LEVEL)/Makefile.rules

Modified: lldb/trunk/test/lang/cpp/char1632_t/Makefile
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/cpp/char1632_t/Makefile?rev=176283&r1=176282&r2=176283&view=diff
==============================================================================
--- lldb/trunk/test/lang/cpp/char1632_t/Makefile (original)
+++ lldb/trunk/test/lang/cpp/char1632_t/Makefile Thu Feb 28 12:47:39 2013
@@ -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.*)
 

Modified: lldb/trunk/test/lang/cpp/rdar12991846/Makefile
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/cpp/rdar12991846/Makefile?rev=176283&r1=176282&r2=176283&view=diff
==============================================================================
--- lldb/trunk/test/lang/cpp/rdar12991846/Makefile (original)
+++ lldb/trunk/test/lang/cpp/rdar12991846/Makefile Thu Feb 28 12:47:39 2013
@@ -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.*)
 

Modified: lldb/trunk/test/lang/cpp/stl/Makefile
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/cpp/stl/Makefile?rev=176283&r1=176282&r2=176283&view=diff
==============================================================================
--- lldb/trunk/test/lang/cpp/stl/Makefile (original)
+++ lldb/trunk/test/lang/cpp/stl/Makefile Thu Feb 28 12:47:39 2013
@@ -1,7 +1,7 @@
 LEVEL = ../../../make
 
 CXX_SOURCES := main.cpp
-CFLAGS := -gdwarf-2 -O0
+CFLAGS := -g -O0
 
 clean: OBJECTS+=$(wildcard main.d.*)
 

Modified: lldb/trunk/test/lang/cpp/wchar_t/Makefile
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/cpp/wchar_t/Makefile?rev=176283&r1=176282&r2=176283&view=diff
==============================================================================
--- lldb/trunk/test/lang/cpp/wchar_t/Makefile (original)
+++ lldb/trunk/test/lang/cpp/wchar_t/Makefile Thu Feb 28 12:47:39 2013
@@ -1,7 +1,7 @@
 LEVEL = ../../../make
 
 CXX_SOURCES := main.cpp
-CFLAGS := -gdwarf-2 -O0
+CFLAGS := -g -O0
 
 clean: OBJECTS+=$(wildcard main.d.*)
 

Modified: lldb/trunk/test/lang/objc/objc-optimized/Makefile
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/objc/objc-optimized/Makefile?rev=176283&r1=176282&r2=176283&view=diff
==============================================================================
--- lldb/trunk/test/lang/objc/objc-optimized/Makefile (original)
+++ lldb/trunk/test/lang/objc/objc-optimized/Makefile Thu Feb 28 12:47:39 2013
@@ -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

Modified: lldb/trunk/test/make/Makefile.rules
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/make/Makefile.rules?rev=176283&r1=176282&r2=176283&view=diff
==============================================================================
--- lldb/trunk/test/make/Makefile.rules (original)
+++ lldb/trunk/test/make/Makefile.rules Thu Feb 28 12:47:39 2013
@@ -81,7 +81,7 @@ else
 	endif
 endif
 
-CFLAGS ?= -gdwarf-2 -O0
+CFLAGS ?= -g -O0
 CFLAGS += $(ARCHFLAG)$(ARCH) $(FRAMEWORK_INCLUDES) $(CFLAGS_EXTRAS)
 
 CXXFLAGS +=$(CFLAGS)





More information about the lldb-commits mailing list