os.remove(j)
return
+ @expectedFailureAll(oslist=["windows"])
def test_save_jit_objects(self):
self.build()
os.chdir(self.getBuildDir())
class TestScriptedResolver(TestBase):
NO_DEBUG_INFO_TESTCASE = True
+ @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24528")
def test_scripted_resolver(self):
"""Use a scripted resolver to set a by symbol name breakpoint"""
self.build()
self.do_test()
+ @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24528")
def test_search_depths(self):
"""Make sure we are called at the right depths depending on what we return
from __get_depth__"""
self.build()
self.do_test_depths()
+ @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24528")
def test_command_line(self):
"""Test setting a resolver breakpoint from the command line"""
self.build()
self.build()
self.inline_stepping_step_over()
- @add_test_categories(["pyapi"])
+ @add_test_categories(['pyapi'])
+ @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr32343")
def test_step_in_template_with_python_api(self):
"""Test stepping in to templated functions."""
self.build()
class StepAvoidsNoDebugTestCase(TestBase):
- @add_test_categories(["pyapi"])
+
+ @add_test_categories(['pyapi'])
+ @expectedFailureAll(archs=["aarch64"], oslist=["windows"], bugnumber="llvm.org/pr56292")
def test_step_out_with_python(self):
"""Test stepping out using avoid-no-debug with dsyms."""
self.build()
compiler_version=[">=", "3.9"],
archs=["i386"],
oslist=no_match(["freebsd"]),
- bugnumber="llvm.org/pr28549",
- )
+ bugnumber="llvm.org/pr28549")
+ @expectedFailureAll(archs=["aarch64"], oslist=["windows"], bugnumber="llvm.org/pr56292")
def test_step_over_with_python(self):
"""Test stepping over using avoid-no-debug with dwarf."""
self.build()
compiler_version=[">=", "3.9"],
archs=["i386"],
oslist=no_match(["freebsd"]),
- bugnumber="llvm.org/pr28549",
- )
+ bugnumber="llvm.org/pr28549")
+ @expectedFailureAll(archs=["aarch64"], oslist=["windows"], bugnumber="llvm.org/pr56292")
def test_step_in_with_python(self):
"""Test stepping in using avoid-no-debug with dwarf."""
self.build()
thread = threads[0]
return thread
+ @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr32343")
def test_with_end_line(self):
"""Test stepping over vrs. hitting breakpoints & subsequent stepping in various forms."""
self.assertEqual(frame.name, "lotsOfArgs", "Stepped to lotsOfArgs.")
+ @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr32343")
def test_with_end_line_bad_name(self):
"""Test stepping over vrs. hitting breakpoints & subsequent stepping in various forms."""
frame = thread.frames[0]
self.assertEqual(frame.name, "modifyInt", "Stepped to modifyInt.")
+ @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr32343")
def test_with_command_and_block(self):
"""Test stepping over vrs. hitting breakpoints & subsequent stepping in various forms."""
frame = thread.frames[0]
self.assertEqual(frame.name, "lotsOfArgs", "Stepped to lotsOfArgs.")
+ @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr32343")
def test_with_command_and_block_and_bad_name(self):
"""Test stepping over vrs. hitting breakpoints & subsequent stepping in various forms."""
)
self.assertEqual(var.GetValue(), "100")
+ @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24764")
def test_access_by_mangled_name(self):
self.build()
)
@expectedFailureAll(bugnumber="llvm.org/pr28548", compiler="gcc")
- @expectedFailureAll(oslist=["windows"])
def test_breakpoints_func_full(self):
"""Test that we can set breakpoints correctly by fullname to find all functions whose fully qualified name is "func"
(no namespaces)."""
startstr="error: use of undeclared identifier 's_d'",
)
+ # We fail to lookup static members on Windows.
+ @expectedFailureAll(oslist=["windows"])
def test_no_crash_in_IR_arithmetic(self):
"""
Test that LLDB doesn't crash on evaluating specific expression involving
"main.c", "// Find the line number for breakpoint 2 here."
)
+ @expectedFailureAll(oslist=["windows"], bugnumber='llvm.org/pr21765')
def test(self):
"""Exercise getting SBAddress objects, disassembly, and SBAddress APIs."""
self.build()
"main.c", "// Find the line number for breakpoint 2 here."
)
+ @expectedFailureAll(oslist=["windows"], bugnumber='llvm.org/pr21765')
def test(self):
"""Exercise some SBSymbol and SBAddress APIs."""
self.build()
"main.c", '// Find the line number of function "c" here.'
)
+ @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24778")
def test(self):
"""Exercise SBSymbolContext API extensively."""
self.build()
self.setTearDownCleanup(dictionary=d)
self.find_compile_units(self.getBuildArtifact("b.out"))
+ @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24778")
def test_find_functions(self):
"""Exercise SBTarget.FindFunctions() API."""
d = {"EXE": "b.out"}
self.build()
self.get_description()
+ @expectedFailureAll(oslist=["windows"], bugnumber='llvm.org/pr21765')
def test_resolve_symbol_context_with_address(self):
"""Exercise SBTarget.ResolveSymbolContextForAddress() API."""
self.build()
# Find the line number to of function 'c'.
self.line = line_number("main.c", "// Break at this line")
+ @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24772")
def test(self):
"""Exercise some SBValue APIs."""
d = {"EXE": self.exe_name}