Additional fixes/xfails for icc tests

llvm-svn: 187730
This commit is contained in:
Andrew Kaylor 2013-08-05 17:12:35 +00:00
parent 74ef34f2be
commit bd6389b11f
3 changed files with 11 additions and 5 deletions

View File

@ -20,6 +20,7 @@ class TestInlineStepping(TestBase):
@python_api_test
@dwarf_test
@expectedFailureIcc # Not really a bug. ICC combines two inlined functions.
def test_with_dwarf_and_python_api(self):
"""Test stepping over and into inlined functions."""
self.buildDwarf()

View File

@ -211,6 +211,8 @@ class ReturnValueTestCase(TestBase):
#self.return_and_test_struct_value ("return_one_int_one_double_packed")
self.return_and_test_struct_value ("return_one_int_one_long")
# icc and gcc don't support this extension.
if self.getCompiler().endswith('clang'):
self.return_and_test_struct_value ("return_vector_size_float32")
self.return_and_test_struct_value ("return_ext_vector_size_float32")

View File

@ -23,6 +23,9 @@ class StructTypesTestCase(TestBase):
self.struct_types()
# rdar://problem/12566646
@expectedFailureIcc # llvm.org/pr16793
# ICC generates DW_AT_byte_size zero with a zero-length
# array and LLDB doesn't process it correctly.
@dwarf_test
def test_with_dwarf(self):
"""Test that break on a struct declaration has no effect."""
@ -75,14 +78,14 @@ class StructTypesTestCase(TestBase):
# Test zero length array access and make sure it succeeds with "frame variable"
self.expect("frame variable pt.padding[0]",
DATA_TYPES_DISPLAYED_CORRECTLY,
substrs = ["pt.padding[0] = '"])
substrs = ["pt.padding[0] = "])
self.expect("frame variable pt.padding[1]",
DATA_TYPES_DISPLAYED_CORRECTLY,
substrs = ["pt.padding[1] = '"])
substrs = ["pt.padding[1] = "])
# Test zero length array access and make sure it succeeds with "expression"
self.expect("expression -- (pt.padding[0])",
DATA_TYPES_DISPLAYED_CORRECTLY,
substrs = ["(char)", " = '"])
substrs = ["(char)", " = "])
# The padding should be an array of size 0
self.expect("image lookup -t point_tag",