From 540f3ed0f0b86fb45e412b8ee537eea7d77cc7a1 Mon Sep 17 00:00:00 2001 From: Matt Kopec Date: Wed, 31 Jul 2013 16:10:03 +0000 Subject: [PATCH] Set an extra debug flag when testing with ICC so that it generates the correct debug info for inlined tests. llvm-svn: 187500 --- lldb/test/functionalities/breakpoint/breakpoint_ids/Makefile | 4 ++++ lldb/test/functionalities/breakpoint/breakpoint_locations/Makefile | 4 ++++ lldb/test/functionalities/inline-stepping/Makefile | 4 ++++ lldb/test/python_api/frame/inlines/Makefile | 4 ++++ 4 files changed, 16 insertions(+) diff --git a/lldb/test/functionalities/breakpoint/breakpoint_ids/Makefile b/lldb/test/functionalities/breakpoint/breakpoint_ids/Makefile index 314f1cb..f89b52a9 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 b09a579..7934cd5 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 2aefbd8..532f495 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 c5b0d18..641ee5d 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 -- 2.7.4