sivachandra created this revision.
sivachandra added a reviewer: granata.enrico.
sivachandra added a subscriber: lldb-commits.
Also xfailed for GCC as there is an problem with debug info generation.
http://reviews.llvm.org/D15657
Files:
packages/Python/lldbsuite/test/lang/cpp/auto/Makefile
packages/Python/lldbsuite/test/lang/cpp/auto/TestCPPAuto.py
packages/Python/lldbsuite/test/make/Makefile.rules
Index: packages/Python/lldbsuite/test/make/Makefile.rules
===================================================================
--- packages/Python/lldbsuite/test/make/Makefile.rules
+++ packages/Python/lldbsuite/test/make/Makefile.rules
@@ -178,8 +178,10 @@
endif
LIMIT_DEBUG_INFO_FLAGS =
+NO_LIMIT_DEBUG_INFO_FLAGS =
ifneq (,$(findstring clang,$(CC)))
LIMIT_DEBUG_INFO_FLAGS += -flimit-debug-info
+ NO_LIMIT_DEBUG_INFO_FLAGS += -fno-limit-debug-info
endif
DEBUG_INFO_FLAG ?= -g
Index: packages/Python/lldbsuite/test/lang/cpp/auto/TestCPPAuto.py
===================================================================
--- packages/Python/lldbsuite/test/lang/cpp/auto/TestCPPAuto.py
+++ packages/Python/lldbsuite/test/lang/cpp/auto/TestCPPAuto.py
@@ -8,7 +8,8 @@
class CPPAutoTestCase(TestBase):
mydir = TestBase.compute_mydir(__file__)
-
+
+ @expectedFailureGcc("GCC does not generate complete debug info")
def test_with_run_command(self):
"""Test that auto types work in the expression parser"""
self.build()
Index: packages/Python/lldbsuite/test/lang/cpp/auto/Makefile
===================================================================
--- packages/Python/lldbsuite/test/lang/cpp/auto/Makefile
+++ packages/Python/lldbsuite/test/lang/cpp/auto/Makefile
@@ -2,4 +2,6 @@
CXX_SOURCES := main.cpp
+CFLAGS_EXTRAS += $(NO_LIMIT_DEBUG_INFO_FLAGS)
+
include $(LEVEL)/Makefile.rules
Index: packages/Python/lldbsuite/test/make/Makefile.rules
===================================================================
--- packages/Python/lldbsuite/test/make/Makefile.rules
+++ packages/Python/lldbsuite/test/make/Makefile.rules
@@ -178,8 +178,10 @@
endif
LIMIT_DEBUG_INFO_FLAGS =
+NO_LIMIT_DEBUG_INFO_FLAGS =
ifneq (,$(findstring clang,$(CC)))
LIMIT_DEBUG_INFO_FLAGS += -flimit-debug-info
+ NO_LIMIT_DEBUG_INFO_FLAGS += -fno-limit-debug-info
endif
DEBUG_INFO_FLAG ?= -g
Index: packages/Python/lldbsuite/test/lang/cpp/auto/TestCPPAuto.py
===================================================================
--- packages/Python/lldbsuite/test/lang/cpp/auto/TestCPPAuto.py
+++ packages/Python/lldbsuite/test/lang/cpp/auto/TestCPPAuto.py
@@ -8,7 +8,8 @@
class CPPAutoTestCase(TestBase):
mydir = TestBase.compute_mydir(__file__)
-
+
+ @expectedFailureGcc("GCC does not generate complete debug info")
def test_with_run_command(self):
"""Test that auto types work in the expression parser"""
self.build()
Index: packages/Python/lldbsuite/test/lang/cpp/auto/Makefile
===================================================================
--- packages/Python/lldbsuite/test/lang/cpp/auto/Makefile
+++ packages/Python/lldbsuite/test/lang/cpp/auto/Makefile
@@ -2,4 +2,6 @@
CXX_SOURCES := main.cpp
+CFLAGS_EXTRAS += $(NO_LIMIT_DEBUG_INFO_FLAGS)
+
include $(LEVEL)/Makefile.rules
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits