[Lldb-commits] [lldb] r187500 - Set an extra debug flag when testing with ICC so that it generates the correct debug info for inlined tests.

Matt Kopec Matt.Kopec at intel.com
Wed Jul 31 09:10:04 PDT 2013


Author: mkopec
Date: Wed Jul 31 11:10:03 2013
New Revision: 187500

URL: http://llvm.org/viewvc/llvm-project?rev=187500&view=rev
Log:
Set an extra debug flag when testing with ICC so that it generates the correct debug info for inlined tests.

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

Modified: lldb/trunk/test/functionalities/breakpoint/breakpoint_ids/Makefile
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/breakpoint/breakpoint_ids/Makefile?rev=187500&r1=187499&r2=187500&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/breakpoint/breakpoint_ids/Makefile (original)
+++ lldb/trunk/test/functionalities/breakpoint/breakpoint_ids/Makefile Wed Jul 31 11:10:03 2013
@@ -2,4 +2,8 @@ LEVEL = ../../../make
 
 CXX_SOURCES := main.cpp
 
+ifneq (,$(findstring icc,$(CC)))
+    CXXFLAGS += -debug inline-debug-info
+endif
+
 include $(LEVEL)/Makefile.rules

Modified: lldb/trunk/test/functionalities/breakpoint/breakpoint_locations/Makefile
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/breakpoint/breakpoint_locations/Makefile?rev=187500&r1=187499&r2=187500&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/breakpoint/breakpoint_locations/Makefile (original)
+++ lldb/trunk/test/functionalities/breakpoint/breakpoint_locations/Makefile Wed Jul 31 11:10:03 2013
@@ -2,4 +2,8 @@ LEVEL = ../../../make
 
 C_SOURCES := main.c
 
+ifneq (,$(findstring icc,$(CC)))
+    CFLAGS += -debug inline-debug-info
+endif
+
 include $(LEVEL)/Makefile.rules

Modified: lldb/trunk/test/functionalities/inline-stepping/Makefile
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/inline-stepping/Makefile?rev=187500&r1=187499&r2=187500&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/inline-stepping/Makefile (original)
+++ lldb/trunk/test/functionalities/inline-stepping/Makefile Wed Jul 31 11:10:03 2013
@@ -2,4 +2,8 @@ LEVEL = ../../make
 
 CXX_SOURCES := calling.cpp
 
+ifneq (,$(findstring icc,$(CC)))
+    CXXFLAGS += -debug inline-debug-info
+endif
+
 include $(LEVEL)/Makefile.rules

Modified: lldb/trunk/test/python_api/frame/inlines/Makefile
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/frame/inlines/Makefile?rev=187500&r1=187499&r2=187500&view=diff
==============================================================================
--- lldb/trunk/test/python_api/frame/inlines/Makefile (original)
+++ lldb/trunk/test/python_api/frame/inlines/Makefile Wed Jul 31 11:10:03 2013
@@ -2,4 +2,8 @@ LEVEL = ../../../make
 
 C_SOURCES := inlines.c
 
+ifneq (,$(findstring icc,$(CC)))
+    CFLAGS += -debug inline-debug-info
+endif
+
 include $(LEVEL)/Makefile.rules





More information about the lldb-commits mailing list