[Lldb-commits] [PATCH] D17465: Get register context for the 32-bit process in a WoW64 process minidump.

Adrian McCarthy via lldb-commits lldb-commits at lists.llvm.org
Wed Feb 24 14:22:30 PST 2016

amccarth added inline comments.

Comment at: source/Plugins/Process/Windows/MiniDump/ProcessWinMiniDump.cpp:238-240
@@ +237,5 @@
+                    // NOTE:  We don't currently use the TEB for anything else.  If we need it in
+                    // the future, the 32-bit TEB is located according to the address stored in the
+                    // first slot of the 64-bit TEB (wow64teb.Reserved1[0]).
+                }
zturner wrote:
> Interesting, according to WinDbg's definition of `_TEB64`, the TEB has this field:
> ```
> +0x180c WowTebOffset     : Int4B
> ```
> Not sure what the difference is between this and `wow64teb.Reserved1[0]` (if there is one at all), but maybe we'll need this in the future (or maybe it's not what it sounds like)
Yeah, I spotted that, too.  The comment is based on documentation in MSDN.


More information about the lldb-commits mailing list