llvm-project/lldb/packages/Python/lldbsuite
Pavel Labath 9a652a84b1 Fix TestDisassembleBreakpoint broken by r328488
The first issue was that the test was capturing the "before" disassembly
before launching, and the "after" after. This is a problem because some
of the disassembly will change after we know the load address (e.g. PCs
in call instructions). I fix this by capturing both disassemblies with
the process running.

The second issue was that the refactor in r328488 accidentaly changed
the meaning of the test, as it was no longer disassembling the function
which contained the breakpoint.

While inside, I also modernize the test to use
lldbutil.run_to_source_breakpoint and prevent debug-info replication.

llvm-svn: 328504
2018-03-26 15:17:58 +00:00
..
pre_kill_hook added Linux support for test timeout sampling 2016-09-26 20:25:47 +00:00
support *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
test Fix TestDisassembleBreakpoint broken by r328488 2018-03-26 15:17:58 +00:00
test_event XUnit Formatter: Handle UTF-8 decode errors on invalid XML 2018-01-30 21:16:42 +00:00
.clang-format Updated .clang-format rules so bring LLDB in line with LLVM standards. 2016-09-06 17:19:00 +00:00
__init__.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00