Go to file
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
clang Fix assertion failure on MaybeODRUseExprs. 2016-02-24 23:05:43 +00:00
clang-tools-extra Trying to fix MSVC build 2016-02-24 23:48:24 +00:00
compiler-rt [CMake] Fix a really simple, silly bug from r261797 2016-02-24 22:42:47 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc math: Fix ilogb(double) return type 2016-02-24 00:52:15 +00:00
libcxx Fix a missing closing tag 2016-02-23 19:48:44 +00:00
libcxxabi [libcxxabi] Teach cxa_demangle about Hexagon's long double size 2016-01-20 14:10:23 +00:00
libunwind [AArch64] Fix libunwind build when using GNU assembler 2016-02-11 21:22:57 +00:00
lld Make test more portable. 2016-02-24 22:47:41 +00:00
lldb Get register context for the 32-bit process in a WoW64 process minidump 2016-02-25 00:23:27 +00:00
llgo [llgo] Force exporting __morestack from llgoi 2015-11-27 04:46:46 +00:00
llvm Move test/CodeGen/Generic/pr26652.ll to test/CodeGen/X86/pr26652.ll and test it only on X86. 2016-02-25 00:12:18 +00:00
openmp Remove unnecessary semicolons after braces 2016-02-18 19:38:25 +00:00
polly Introduce ScopStmt::getRegionNode(). NFC. 2016-02-24 22:08:28 +00:00