[llvm-commits] [PATCH] Win64 Support for Crash Stack Crawls
Aaron Ballman
aaron at aaronballman.com
Wed Sep 21 16:06:54 PDT 2011
This patch fixes a FIXME in Signals.inc for Win64. Now, it contains
support for 32- and 64-bit versions of the library. The StackWalk64
API (and friends) were introduced in DebugHlp 5.1, which shipped with
Windows XP. However, I don't have an XP install handy to test
against, so I've not verified on the LCD platform. However, I have
tested it on Win7 64-bit with 32-bit and 64-bit versions of the
library.
The majority of this patch involved working around MinGW. :-( It
doesn't have support for any of the 64-bit APIs or structures, so I
had to dynamically load them. All structures and function signatures
were pulled from the platform SDK. So this has been tested with VC++
and MinGW both.
~Aaron
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Signals.diff
Type: application/octet-stream
Size: 11126 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110921/407fd797/attachment.obj>
More information about the llvm-commits
mailing list