hanchenye-llvm-project/lldb
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
..
cmake [cmake] Fix standalone+LLVM_LINK_LLVM_DYLIB builds (pr36687) 2018-03-14 10:08:21 +00:00
docs Compile the LLDB tests out-of-tree. 2018-01-30 18:29:16 +00:00
examples Fixed up to use a class for the commands, renamed the commands and added a way to just dump the compile unit full paths and optionally their support files with the new "dump-files"command. 2017-11-16 17:14:48 +00:00
include/lldb [ExpressionParser] Re-implement r327356 in a less disruptive way. 2018-03-20 19:46:32 +00:00
lit [ExpressionParser] Re-implement r327356 in a less disruptive way. 2018-03-20 19:46:32 +00:00
lldb.xcodeproj Remove CommandObjectStats.cpp & CleanUpTest.cpp from 2018-03-23 23:32:16 +00:00
lldb.xcworkspace
packages/Python/lldbsuite Fix TestDisassembleBreakpoint broken by r328488 2018-03-26 15:17:58 +00:00
resources
scripts Fix the install location of LLDBWrapPython.cpp when building 2018-03-05 21:08:42 +00:00
source Add support for __attribute__(trivial_abi). 2018-03-23 23:44:52 +00:00
test [dotest] Use subprocess.call to forward arguments in wrapper 2018-03-21 11:13:56 +00:00
third_party/Python/module
tools Rename remotectl_com.apple.internal.xpc.remote.debugserver.plist 2018-03-19 23:07:31 +00:00
unittests llgs-tests: use the auto-parsing form of SendMessage for sending the continue packets 2018-03-04 02:12:18 +00:00
utils
www Add a suggestion to convert dotest tests to use run_to_source_breakpoint. 2018-03-20 02:15:23 +00:00
.arcconfig
.clang-format
.gitignore [dotest] Remove crashinfo hook 2018-01-10 10:18:47 +00:00
CMakeLists.txt [lit] Update how clang and other binaries are found in per-configuration directories 2018-02-21 00:05:51 +00:00
CODE_OWNERS.txt Remove Sean Callanan from the CODE_OWNERS, he won't have time 2017-11-01 01:38:42 +00:00
INSTALL.txt
LICENSE.TXT
use_lldb_suite_root.py