llvm-project/lldb/test/Shell
Alvin Wong fe17e02695 [lldb][Windows] Always call SetExecutableModule on debugger connected
In `ProcessWindows::OnDebuggerConnected` (triggered from
`CREATE_PROCESS_DEBUG_EVENT`), we should always call
`Target::SetExecutableModule` regardless of whether LLDB has already
preloaded the executable modules. `SetExecutableModule` has the side
effect of clearing the module list of the Target, which help make sure
that module #0 is the executable module and the rest of the modules are
listed according to the DLL load order in the process (technically this
has no real consequences but it seems to make more sense anyway.) It
also fixes an issue where the modules preloaded by LLDB will be
duplicated when the debuggee process actually loads the DLL.

Reviewed By: labath

Differential Revision: https://reviews.llvm.org/D134636
2022-09-30 13:51:56 +03:00
..
Breakpoint [lldb] [test] Update baseline test status for FreeBSD 2022-06-17 14:35:18 +02:00
BuildScript [lldb] Allow EXE or exe in toolchain-msvc.test 2022-04-29 12:22:33 +00:00
Commands [lldb] Add newline in output of `target modules lookup` 2022-09-27 13:09:45 +03:00
Driver [lldb] Fix CommandInterpreter::DidProcessStopAbnormally() with multiple threads 2022-09-26 11:05:42 +03:00
Error [LLDB] Clean up after command fails 2022-08-24 16:00:50 -07:00
ExecControl/StopHook
Expr [lldb/test] Disable TestStringLiteralExpr.test on Windows 2022-07-08 12:17:31 +02:00
Heap [lldb] Print message after loading 'crashlog' command 2022-02-07 12:34:12 -08:00
Host Don't depend on the "run" alias doing shell expanding. 2021-06-15 16:37:46 -07:00
Minidump [lldb] Add gnu-debuglink support for Windows PE/COFF 2022-06-09 14:39:33 +03:00
ObjectFile [lldb][COFF] Map symbols without base+complex type as 'Data' type 2022-09-28 12:57:12 +03:00
Process [lldb] Remove TestShell.test 2022-04-14 12:10:54 -07:00
Quit
REPL [lldb] Check if language is supported before creating a REPL instance 2021-12-14 12:05:35 -08:00
Recognizer [lldb] Skip Recognizer/assert.test on linux 2022-06-21 16:51:02 +02:00
Register Correct debugserver to write xmm/ymm/zmm reg values 2022-04-06 23:36:52 -07:00
ScriptInterpreter [lldb/crashlog] Improve exception reporting for interactive mode 2022-08-11 22:29:06 -07:00
Settings Fix "settings set -g" so it works again. 2021-12-28 11:03:09 -08:00
Subprocess [lldb] [test] Remove parent output checks from follow-child tests 2021-09-13 15:50:00 +02:00
SymbolFile [LLDB][NativePDB] Add class/union layout bit size. 2022-09-27 11:41:55 -07:00
Symtab [lldb] Fix 'FileCheck' spelling on symtab regex tests 2022-08-03 11:57:33 -07:00
Target [lldb][Windows] Always call SetExecutableModule on debugger connected 2022-09-30 13:51:56 +03:00
Unwind [lldb] Reduce the stack alignment requirements for the Windows x86_64 ABI 2022-07-11 23:41:35 +03:00
VSCode
Watchpoint
helper [LLDB] Make build.py use uname to set platform 2022-09-01 14:00:47 +05:00
lldb-server Revert "[lldb server] Tidy up LLDB server return codes and associated tests" 2021-09-02 15:27:39 +02:00
.clang-format
CMakeLists.txt [lldb] Quietly source lit-lldb-init 2022-08-29 10:22:01 -07:00
lit-lldb-init.in Revert "[lldb] Assert filecache and live memory match on debug under a setting" 2021-07-29 10:48:57 -07:00
lit.cfg.py [lldb] Set COFF module ABI from default triple and make it an option 2022-06-09 22:43:33 +03:00
lit.site.cfg.py.in Revert "Rebase: [Facebook] Add clang driver options to test debug info and BOLT" 2022-07-11 09:50:46 -07:00