llvm-project
llvm-project copied to clipboard
Don't use CopyContext in RegisterContextWin
| Bugzilla Link | 22410 |
| Resolution | FIXED |
| Resolved on | Feb 18, 2015 12:49 |
| Version | unspecified |
| OS | Windows NT |
| Reporter | LLVM Bugzilla Contributor |
| CC | @amccarth-google |
Extended Description
CopyContext is the only safe way to access a CPU's XSTATE, but it's only available on Windows 7 and higher. It is also the sole reason for requiring the newest version of the Windows SDK. For compatibility purposes, and since we are not actually using XSTATE for any purpose yet, we should get rid of this CopyContext stuff, which would make supporting Vista possible and reduce the SDK version requirement.
http://reviews.llvm.org/D7572
assigned to @amccarth-google