[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

llvm-svn: 256067
This commit is contained in:
Siva Chandra 2015-12-19 00:52:29 +00:00
parent 7927150fea
commit ea35dbeff2
3 changed files with 6 additions and 1 deletions

View File

@ -2,4 +2,6 @@ LEVEL = ../../../make
CXX_SOURCES := main.cpp
CFLAGS_EXTRAS += $(NO_LIMIT_DEBUG_INFO_FLAGS)
include $(LEVEL)/Makefile.rules

View File

@ -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()

View File

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