[Lldb-commits] [lldb] r256067 - [TestCPPAuto] On linux, we need -fno-limit-debug-info.

Siva Chandra via lldb-commits lldb-commits at lists.llvm.org
Fri Dec 18 16:52:29 PST 2015


Author: sivachandra
Date: Fri Dec 18 18:52:29 2015
New Revision: 256067

URL: http://llvm.org/viewvc/llvm-project?rev=256067&view=rev
Log:
[TestCPPAuto] On linux, we need -fno-limit-debug-info.

Summary: Also xfailed for GCC as there is an problem with debug info generation.

Reviewers: granata.enrico

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D15657

Modified:
    lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/auto/Makefile
    lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/auto/TestCPPAuto.py
    lldb/trunk/packages/Python/lldbsuite/test/make/Makefile.rules

Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/auto/Makefile
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/auto/Makefile?rev=256067&r1=256066&r2=256067&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/auto/Makefile (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/auto/Makefile Fri Dec 18 18:52:29 2015
@@ -2,4 +2,6 @@ LEVEL = ../../../make
 
 CXX_SOURCES := main.cpp
 
+CFLAGS_EXTRAS += $(NO_LIMIT_DEBUG_INFO_FLAGS)
+
 include $(LEVEL)/Makefile.rules

Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/auto/TestCPPAuto.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/auto/TestCPPAuto.py?rev=256067&r1=256066&r2=256067&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/auto/TestCPPAuto.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/auto/TestCPPAuto.py Fri Dec 18 18:52:29 2015
@@ -8,7 +8,8 @@ import lldbsuite.test.lldbutil as lldbut
 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()

Modified: lldb/trunk/packages/Python/lldbsuite/test/make/Makefile.rules
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/make/Makefile.rules?rev=256067&r1=256066&r2=256067&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/make/Makefile.rules (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/make/Makefile.rules Fri Dec 18 18:52:29 2015
@@ -178,8 +178,10 @@ else
 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




More information about the lldb-commits mailing list