llvm-project/lldb/test/Shell
Pavel Labath 573e077699 [lldb] Add detailed tests for the "disassemble" command
While we have some tests for this command already, they are very vague.
This is not surprising -- it's hard to make strict assertions about the
assembly if your input is a c++ source file. This means that the tests
can more-or-less only detect when the command breaks completely, and not
when there is a subtle change in meaning due to e.g. a code refactor --
which is something that I am getting ready to do.

This tests in this patch create binaries with well known data (via assembler
and yaml2obj). This means that we are able to make precise assertions
about the text that lldb is supposed to print. As some of the features
of this command are only available with a real process, I use a minidump
core file to create a sufficiently realistic process object.
2020-03-03 16:40:27 +01:00
..
Breakpoint BreakpointDummyOptionGroup was using g_breakpoint_modify_options rather than g_breakpoint_dummy_options 2019-11-07 14:25:04 -08:00
BuildScript Re-land "[test] Split LLDB tests into API, Shell & Unit" 2019-10-09 19:22:02 +00:00
Commands [lldb] Add detailed tests for the "disassemble" command 2020-03-03 16:40:27 +01:00
Driver Revert "[TestConvienceVariable] Clean the directory before running the test." 2020-02-07 14:32:30 -08:00
ExecControl/StopHook [lldb] Remove license headers from all test source files 2020-02-20 08:32:01 +01:00
Expr [lldb/lit] Introduce %clang_host substitutions 2019-10-31 10:40:37 +01:00
Heap [lldb/Test] Mark heap-cstr.test as requiring Python 2020-02-05 16:05:54 -08:00
Host [lldb/lit] Introduce %clang_host substitutions 2019-10-31 10:40:37 +01:00
Minidump [lldb] Allow loading of minidumps with no process id 2020-01-20 13:08:58 +01:00
ObjectFile [lldb] Mark ObjectFileBreakpad test inputs as non-text 2020-02-25 08:29:41 +01:00
Process Remove 'process launch failed:' message prefix in Target::Launch 2020-02-14 18:42:38 -08:00
Quit [lldb/Test] Use lit's capabilities to skip lldb-repro tests. 2020-01-22 13:24:12 -08:00
Recognizer [lldb/test] Add alternate symbol to StackFrame Recognizer 2020-02-11 11:44:37 +01:00
Register [lldb] [test] Restrict x86-64-write register test to x86-64 2020-01-28 22:15:23 +01:00
Reproducer [lldb] Remove license headers from all test source files 2020-02-20 08:32:01 +01:00
ScriptInterpreter [lldb/Test] Use lit.local.cfg to mark whole directory as (un)supported. 2020-01-27 15:11:00 -08:00
Settings [lldb] Color the line marker 2020-02-24 15:40:31 -08:00
SymbolFile [lldb] s/CHECK-NEXT/CHECK-DAG in dwp-debug-types.s 2020-02-25 10:04:09 +01:00
Unwind [lldb] Fix eh-frame-small-fde test for changes in lld 2020-01-13 11:17:34 +01:00
VSCode [lldb-vscode] Use libOption with tablegen to parse command line options. 2020-02-21 08:15:06 -08:00
Watchpoint [lldb] [Process/NetBSD] Copy watchpoints to newly-created threads 2019-11-25 20:11:59 +01:00
helper [lldb/DWARF] Fix dwp search path in the separate-debug-file case 2020-02-24 17:01:15 +01:00
.clang-format [test] Add a .clang-format file for the shell test. 2019-10-17 21:23:35 +00:00
CMakeLists.txt [CMake] Rename EXCLUDE_FROM_ALL and make it an argument to add_lit_testsuite 2020-02-06 15:33:18 -08:00
lit-lldb-init.in [lldb] Disable auto fix-its when evaluating expressions in the test suite 2020-02-24 09:31:11 +01:00
lit.cfg.py [lldb/Test] Use lit's capabilities to skip lldb-repro tests. 2020-01-22 13:24:12 -08:00
lit.site.cfg.py.in [lldb/Lua] Implement a Simple Lua Script Interpreter Prototype 2019-12-20 11:19:47 -08:00