summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
-rw-r--r--lldb/packages/Python/lldbsuite/test/lang/cpp/auto/Makefile2
-rw-r--r--lldb/packages/Python/lldbsuite/test/lang/cpp/auto/TestCPPAuto.py3
-rw-r--r--lldb/packages/Python/lldbsuite/test/make/Makefile.rules2
3 files changed, 6 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/lang/cpp/auto/Makefile b/lldb/packages/Python/lldbsuite/test/lang/cpp/auto/Makefile
index 314f1cb2f07..194af7b3239 100644
--- a/lldb/packages/Python/lldbsuite/test/lang/cpp/auto/Makefile
+++ b/lldb/packages/Python/lldbsuite/test/lang/cpp/auto/Makefile
@@ -2,4 +2,6 @@ LEVEL = ../../../make
CXX_SOURCES := main.cpp
+CFLAGS_EXTRAS += $(NO_LIMIT_DEBUG_INFO_FLAGS)
+
include $(LEVEL)/Makefile.rules
diff --git a/lldb/packages/Python/lldbsuite/test/lang/cpp/auto/TestCPPAuto.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/auto/TestCPPAuto.py
index e3f7fb1618a..9746dec2fa3 100644
--- a/lldb/packages/Python/lldbsuite/test/lang/cpp/auto/TestCPPAuto.py
+++ b/lldb/packages/Python/lldbsuite/test/lang/cpp/auto/TestCPPAuto.py
@@ -8,7 +8,8 @@ import lldbsuite.test.lldbutil as lldbutil
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()
diff --git a/lldb/packages/Python/lldbsuite/test/make/Makefile.rules b/lldb/packages/Python/lldbsuite/test/make/Makefile.rules
index e47cfaab996..e753317e939 100644
--- a/lldb/packages/Python/lldbsuite/test/make/Makefile.rules
+++ b/lldb/packages/Python/lldbsuite/test/make/Makefile.rules
@@ -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
OpenPOWER on IntegriCloud