diff options
| author | Matt Kopec <Matt.Kopec@intel.com> | 2013-07-31 16:10:03 +0000 |
|---|---|---|
| committer | Matt Kopec <Matt.Kopec@intel.com> | 2013-07-31 16:10:03 +0000 |
| commit | 540f3ed0f0b86fb45e412b8ee537eea7d77cc7a1 (patch) | |
| tree | daec7af375573723c7898278c1ddfe2a98302714 | |
| parent | dea0e6326b319600e4e2297002cadaa0c5708736 (diff) | |
| download | bcm5719-llvm-540f3ed0f0b86fb45e412b8ee537eea7d77cc7a1.tar.gz bcm5719-llvm-540f3ed0f0b86fb45e412b8ee537eea7d77cc7a1.zip | |
Set an extra debug flag when testing with ICC so that it generates the correct debug info for inlined tests.
llvm-svn: 187500
4 files changed, 16 insertions, 0 deletions
diff --git a/lldb/test/functionalities/breakpoint/breakpoint_ids/Makefile b/lldb/test/functionalities/breakpoint/breakpoint_ids/Makefile index 314f1cb2f07..f89b52a972e 100644 --- a/lldb/test/functionalities/breakpoint/breakpoint_ids/Makefile +++ b/lldb/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/lldb/test/functionalities/breakpoint/breakpoint_locations/Makefile b/lldb/test/functionalities/breakpoint/breakpoint_locations/Makefile index b09a579159d..7934cd5db42 100644 --- a/lldb/test/functionalities/breakpoint/breakpoint_locations/Makefile +++ b/lldb/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/lldb/test/functionalities/inline-stepping/Makefile b/lldb/test/functionalities/inline-stepping/Makefile index 2aefbd8b628..532f49555e5 100644 --- a/lldb/test/functionalities/inline-stepping/Makefile +++ b/lldb/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/lldb/test/python_api/frame/inlines/Makefile b/lldb/test/python_api/frame/inlines/Makefile index c5b0d18f995..641ee5d96ca 100644 --- a/lldb/test/python_api/frame/inlines/Makefile +++ b/lldb/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 |

