Skip to content

Commit ea35dbe

Browse files
author
Siva Chandra
committed
[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
1 parent 7927150 commit ea35dbe

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

lldb/packages/Python/lldbsuite/test/lang/cpp/auto/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@ LEVEL = ../../../make
22

33
CXX_SOURCES := main.cpp
44

5+
CFLAGS_EXTRAS += $(NO_LIMIT_DEBUG_INFO_FLAGS)
6+
57
include $(LEVEL)/Makefile.rules

lldb/packages/Python/lldbsuite/test/lang/cpp/auto/TestCPPAuto.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
class CPPAutoTestCase(TestBase):
99

1010
mydir = TestBase.compute_mydir(__file__)
11-
11+
12+
@expectedFailureGcc("GCC does not generate complete debug info")
1213
def test_with_run_command(self):
1314
"""Test that auto types work in the expression parser"""
1415
self.build()

lldb/packages/Python/lldbsuite/test/make/Makefile.rules

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,10 @@ else
178178
endif
179179

180180
LIMIT_DEBUG_INFO_FLAGS =
181+
NO_LIMIT_DEBUG_INFO_FLAGS =
181182
ifneq (,$(findstring clang,$(CC)))
182183
LIMIT_DEBUG_INFO_FLAGS += -flimit-debug-info
184+
NO_LIMIT_DEBUG_INFO_FLAGS += -fno-limit-debug-info
183185
endif
184186

185187
DEBUG_INFO_FLAG ?= -g

0 commit comments

Comments
 (0)