forked from OSchip/llvm-project
[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:
parent
7927150fea
commit
ea35dbeff2
|
@ -2,4 +2,6 @@ LEVEL = ../../../make
|
|||
|
||||
CXX_SOURCES := main.cpp
|
||||
|
||||
CFLAGS_EXTRAS += $(NO_LIMIT_DEBUG_INFO_FLAGS)
|
||||
|
||||
include $(LEVEL)/Makefile.rules
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue