[Lldb-commits] [PATCH] Fix compilation faliures for x64 visual studio 2013 build
zturner at google.com
Wed Dec 17 07:18:15 PST 2014
I'll take a look later today.
On Wed, Dec 17, 2014 at 6:59 AM Aidan Dodds <Aidan at codeplay.com> wrote:
> Hi zturner, clayborg, emaste, domipheus,
> The visual studio 2013 x64 build is failing due to some type differences
> between 32bit and 64bit builds.
> The CONTEXT structure used in RegisterContextWindows_x86 changes its
> fields based on the build.
> Currently I have used #ifdefs to alternate between the different registers
> for each build, is this an acceptable solution?
> It seems however that HostThreadWindows is largely 32bit specific, so
> should there rather be a dedicated x64 version?
> In HostThreadWindows its seems that ULONG_PTR also changes its size based
> on the machine type, however the argument for ExitThread() doesnt change in
> a simmilar way.
> I have created a proxy function to wrap ExitThread() so it can again be
> used as a function pointer.
> If these changes are acceptable, would someone be able to commit these
> fixes since I dont currently have commit access.
> EMAIL PREFERENCES
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lldb-commits