[Lldb-commits] [PATCH] D15657: [TestCPPAuto] On linux, we need -fno-limit-debug-info.
Siva Chandra via lldb-commits
lldb-commits at lists.llvm.org
Fri Dec 18 16:55:54 PST 2015
This revision was automatically updated to reflect the committed changes.
Closed by commit rL256067: [TestCPPAuto] On linux, we need -fno-limit-debug-info. (authored by sivachandra).
Changed prior to commit:
http://reviews.llvm.org/D15657?vs=43283&id=43284#toc
Repository:
rL LLVM
http://reviews.llvm.org/D15657
Files:
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
Index: lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/auto/TestCPPAuto.py
===================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/auto/TestCPPAuto.py
+++ lldb/trunk/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: lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/auto/Makefile
===================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/auto/Makefile
+++ lldb/trunk/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: lldb/trunk/packages/Python/lldbsuite/test/make/Makefile.rules
===================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/make/Makefile.rules
+++ lldb/trunk/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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15657.43284.patch
Type: text/x-patch
Size: 1533 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20151219/ea240726/attachment.bin>
More information about the lldb-commits
mailing list