Set an extra debug flag when testing with ICC so that it generates the correct debug...
authorMatt Kopec <Matt.Kopec@intel.com>
Wed, 31 Jul 2013 16:10:03 +0000 (16:10 +0000)
committerMatt Kopec <Matt.Kopec@intel.com>
Wed, 31 Jul 2013 16:10:03 +0000 (16:10 +0000)
llvm-svn: 187500

lldb/test/functionalities/breakpoint/breakpoint_ids/Makefile
lldb/test/functionalities/breakpoint/breakpoint_locations/Makefile
lldb/test/functionalities/inline-stepping/Makefile
lldb/test/python_api/frame/inlines/Makefile

index 314f1cb..f89b52a 100644 (file)
@@ -2,4 +2,8 @@ LEVEL = ../../../make
 
 CXX_SOURCES := main.cpp
 
+ifneq (,$(findstring icc,$(CC)))
+    CXXFLAGS += -debug inline-debug-info
+endif
+
 include $(LEVEL)/Makefile.rules
index b09a579..7934cd5 100644 (file)
@@ -2,4 +2,8 @@ LEVEL = ../../../make
 
 C_SOURCES := main.c
 
+ifneq (,$(findstring icc,$(CC)))
+    CFLAGS += -debug inline-debug-info
+endif
+
 include $(LEVEL)/Makefile.rules
index 2aefbd8..532f495 100644 (file)
@@ -2,4 +2,8 @@ LEVEL = ../../make
 
 CXX_SOURCES := calling.cpp
 
+ifneq (,$(findstring icc,$(CC)))
+    CXXFLAGS += -debug inline-debug-info
+endif
+
 include $(LEVEL)/Makefile.rules
index c5b0d18..641ee5d 100644 (file)
@@ -2,4 +2,8 @@ LEVEL = ../../../make
 
 C_SOURCES := inlines.c
 
+ifneq (,$(findstring icc,$(CC)))
+    CFLAGS += -debug inline-debug-info
+endif
+
 include $(LEVEL)/Makefile.rules