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/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/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