teak-llvm/lldb/packages/Python/lldbsuite/test/functionalities
Adrian McCarthy 0a750820a3 Get register context for the 32-bit process in a WoW64 process minidump
32-bit processes on 64-bit Windows run in a layer called WoW64 (Windows-on-Windows64). If you capture a mini dump of such a process from a 32-bit debugger, you end up with a register context for the 64-bit WoW64 process rather than the 32-bit one you probably care about.

This detects WoW64 by looking to see if there's a module named wow64.dll loaded. For such processes, it then looks in the 64-bit Thread Environment Block (TEB) to locate a copy of the 32-bit CONTEXT record that the plugin needs for the register context.

Added some rudimentary tests.  I'd like to improve these later once we figure out how to get the exception information from these mini dumps.

Differential Revision: http://reviews.llvm.org/D17465

llvm-svn: 261808
2016-02-25 00:23:27 +00:00
..
abbreviation Remove expectedFlakeyFreeBSD decorator for prompt setting 2016-02-18 21:38:24 +00:00
alias
archives Remove expectedFailureWindows decorator. 2016-02-08 19:34:59 +00:00
asan Add target and host platform enumerations so we're not using strings. 2016-02-18 18:50:02 +00:00
attach_resume Remove expectedFailureFreeBSD decorator 2016-02-19 19:25:03 +00:00
avoids-fd-leak Remove expectedFailureFreeBSD decorator 2016-02-19 19:25:03 +00:00
backticks Move the rest of the tests over to using the new decorator module. 2016-02-04 23:04:17 +00:00
breakpoint xfail case sensitivity test on Linux. 2016-02-24 22:41:04 +00:00
command_history Move the rest of the tests over to using the new decorator module. 2016-02-04 23:04:17 +00:00
command_regex Remove expected failure and skip decorators for host os. 2016-02-09 21:36:02 +00:00
command_script Move the rest of the tests over to using the new decorator module. 2016-02-04 23:04:17 +00:00
command_script_immediate_output XFAIL TestCommandScriptImmediateOutput on FreeBSD also 2016-02-11 21:15:49 +00:00
command_source Move the rest of the tests over to using the new decorator module. 2016-02-04 23:04:17 +00:00
completion Add target and host platform enumerations so we're not using strings. 2016-02-18 18:50:02 +00:00
conditional_break Remove expectedFailureWindows decorator. 2016-02-08 19:34:59 +00:00
data-formatter Remove expectedFailureFreeBSD decorator 2016-02-19 19:25:03 +00:00
dead-strip Remove decorators related to debug info types. 2016-02-09 21:36:23 +00:00
disassembly Remove expectedFailureWindows decorator. 2016-02-08 19:34:59 +00:00
dynamic_value_child_count Remove expectedFailureWindows decorator. 2016-02-08 19:34:59 +00:00
embedded_interpreter Remove expectedFailureWindows decorator. 2016-02-08 19:34:59 +00:00
exec When calling TypeSystemMap::Clear, objects being destroyed in the process of 2016-02-12 00:03:19 +00:00
expr-doesnt-deadlock Remove expectedFailureFreeBSD decorator 2016-02-19 19:25:03 +00:00
fat_archives Move the rest of the tests over to using the new decorator module. 2016-02-04 23:04:17 +00:00
format Remove expected failure and skip decorators for host os. 2016-02-09 21:36:02 +00:00
inferior-assert Remove expectedFailureLinux decorator. 2016-02-10 19:53:36 +00:00
inferior-changed Remove skipIfHostPlatform and skipUnlessHostPlatform decorators. 2016-02-09 00:36:27 +00:00
inferior-crashing Remove expectedFailureFreeBSD decorator 2016-02-19 19:25:03 +00:00
inline-stepping Remove XFAIL from test passing on FreeBSD 2016-02-19 17:35:01 +00:00
jitloader_gdb Move some of the common decorators to decorators.py. 2016-02-04 18:03:01 +00:00
launch_with_shellexpand Remove expectedFailureLinux decorator. 2016-02-10 19:53:36 +00:00
load_unload Move some of the common decorators to decorators.py. 2016-02-04 18:03:01 +00:00
longjmp Remove expectedFailureLinux decorator. 2016-02-10 19:53:36 +00:00
memory/read Fix to solve Bug 23139 & Bug 23560 2015-11-13 10:47:49 +00:00
multidebugger_commands Fix an issue where certain CommandObjects (or Options thereof) were being created once, bound to a specific CommandInterpreter (and hence a specific Debugger), and then cached for reuse across different Debugger instances 2016-02-06 00:43:07 +00:00
non-overlapping-index-variable-i Remove use_lldb_suite from the package, and don't import it anymore. 2015-11-03 19:20:39 +00:00
nosucharch Remove use_lldb_suite from the package, and don't import it anymore. 2015-11-03 19:20:39 +00:00
object-file Move the rest of the tests over to using the new decorator module. 2016-02-04 23:04:17 +00:00
paths Move the rest of the tests over to using the new decorator module. 2016-02-04 23:04:17 +00:00
platform Move the rest of the tests over to using the new decorator module. 2016-02-04 23:04:17 +00:00
plugins Remove expectedFailureWindows decorator. 2016-02-08 19:34:59 +00:00
postmortem Get register context for the 32-bit process in a WoW64 process minidump 2016-02-25 00:23:27 +00:00
process_attach Move the rest of the tests over to using the new decorator module. 2016-02-04 23:04:17 +00:00
process_group Bump up timeout in TestChangeProcessGroup 2016-02-16 09:58:50 +00:00
process_launch Remove expectedFailureLinux decorator. 2016-02-10 19:53:36 +00:00
process_save_core Move the rest of the tests over to using the new decorator module. 2016-02-04 23:04:17 +00:00
recursion Remove use_lldb_suite from the package, and don't import it anymore. 2015-11-03 19:20:39 +00:00
register Remove the skipUnlessArch decorator. 2016-02-09 00:36:22 +00:00
rerun Move the rest of the tests over to using the new decorator module. 2016-02-04 23:04:17 +00:00
return-value Remove expectedFailureWindows decorator. 2016-02-08 19:34:59 +00:00
set-data Move the rest of the tests over to using the new decorator module. 2016-02-04 23:04:17 +00:00
signal Remove expectedFailureFreeBSD decorator 2016-02-19 19:25:03 +00:00
single-quote-in-filename-to-lldb Remove expected failure and skip decorators for host os. 2016-02-09 21:36:02 +00:00
step-avoids-no-debug Delete all the xfail / skip decorators for specific compilers. 2016-02-09 21:36:15 +00:00
stop-hook Remove expected failure and skip decorators for host os. 2016-02-09 21:36:02 +00:00
target_command Move the rest of the tests over to using the new decorator module. 2016-02-04 23:04:17 +00:00
thread Remove expectedFailureFreeBSD decorator 2016-02-19 19:25:03 +00:00
tty Move the rest of the tests over to using the new decorator module. 2016-02-04 23:04:17 +00:00
type_completion Delete all the xfail / skip decorators for specific compilers. 2016-02-09 21:36:15 +00:00
type_lookup Move the rest of the tests over to using the new decorator module. 2016-02-04 23:04:17 +00:00
unwind Move the rest of the tests over to using the new decorator module. 2016-02-04 23:04:17 +00:00
value_md5_crash Remove expectedFailureWindows decorator. 2016-02-08 19:34:59 +00:00
watchpoint Remove expectedFailureLinux decorator. 2016-02-10 19:53:36 +00:00