aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Kopec <Matt.Kopec@intel.com>2013-07-31 16:10:03 +0000
committerMatt Kopec <Matt.Kopec@intel.com>2013-07-31 16:10:03 +0000
commitc3e49ca112343c6286c48a18bef3ce52bb69b3be (patch)
tree873630c6a2e40594dd5807c44d3fa9b456494c06
parent6629791fa6e1a2621db0309ab657d03d82a62ebe (diff)
downloadlldb-c3e49ca112343c6286c48a18bef3ce52bb69b3be.tar.gz
Set an extra debug flag when testing with ICC so that it generates the correct debug info for inlined tests.
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187500 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/functionalities/breakpoint/breakpoint_ids/Makefile4
-rw-r--r--test/functionalities/breakpoint/breakpoint_locations/Makefile4
-rw-r--r--test/functionalities/inline-stepping/Makefile4
-rw-r--r--test/python_api/frame/inlines/Makefile4
4 files changed, 16 insertions, 0 deletions
diff --git a/test/functionalities/breakpoint/breakpoint_ids/Makefile b/test/functionalities/breakpoint/breakpoint_ids/Makefile
index 314f1cb2f..f89b52a97 100644
--- a/test/functionalities/breakpoint/breakpoint_ids/Makefile
+++ b/test/functionalities/breakpoint/breakpoint_ids/Makefile
@@ -2,4 +2,8 @@ LEVEL = ../../../make
CXX_SOURCES := main.cpp
+ifneq (,$(findstring icc,$(CC)))
+ CXXFLAGS += -debug inline-debug-info
+endif
+
include $(LEVEL)/Makefile.rules
diff --git a/test/functionalities/breakpoint/breakpoint_locations/Makefile b/test/functionalities/breakpoint/breakpoint_locations/Makefile
index b09a57915..7934cd5db 100644
--- a/test/functionalities/breakpoint/breakpoint_locations/Makefile
+++ b/test/functionalities/breakpoint/breakpoint_locations/Makefile
@@ -2,4 +2,8 @@ LEVEL = ../../../make
C_SOURCES := main.c
+ifneq (,$(findstring icc,$(CC)))
+ CFLAGS += -debug inline-debug-info
+endif
+
include $(LEVEL)/Makefile.rules
diff --git a/test/functionalities/inline-stepping/Makefile b/test/functionalities/inline-stepping/Makefile
index 2aefbd8b6..532f49555 100644
--- a/test/functionalities/inline-stepping/Makefile
+++ b/test/functionalities/inline-stepping/Makefile
@@ -2,4 +2,8 @@ LEVEL = ../../make
CXX_SOURCES := calling.cpp
+ifneq (,$(findstring icc,$(CC)))
+ CXXFLAGS += -debug inline-debug-info
+endif
+
include $(LEVEL)/Makefile.rules
diff --git a/test/python_api/frame/inlines/Makefile b/test/python_api/frame/inlines/Makefile
index c5b0d18f9..641ee5d96 100644
--- a/test/python_api/frame/inlines/Makefile
+++ b/test/python_api/frame/inlines/Makefile
@@ -2,4 +2,8 @@ LEVEL = ../../../make
C_SOURCES := inlines.c
+ifneq (,$(findstring icc,$(CC)))
+ CFLAGS += -debug inline-debug-info
+endif
+
include $(LEVEL)/Makefile.rules