llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

Don't use CopyContext in RegisterContextWin

Open llvmbot opened this issue 11 years ago • 2 comments

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.

llvmbot avatar Jan 30 '15 19:01 llvmbot

http://reviews.llvm.org/D7572

amccarth-google avatar Feb 18 '15 20:02 amccarth-google

assigned to @amccarth-google

llvmbot avatar Jan 30 '15 19:01 llvmbot