Make LLDB compile on Windows after the reformat.
authorZachary Turner <zturner@google.com>
Tue, 6 Sep 2016 21:52:14 +0000 (21:52 +0000)
committerZachary Turner <zturner@google.com>
Tue, 6 Sep 2016 21:52:14 +0000 (21:52 +0000)
commit415a189c09210ee5bc5d2d40556e69b5230bfc6a
tree3311ddefe9d52f4223fccde38dcfab2736bfa050
parent24e91bd05fec332b73a991fa1f59160ea1c1e18e
Make LLDB compile on Windows after the reformat.

Most of these issues arose as a result of header re-ordering, but
it turned up a real bug, which is that MSVC doesn't support
__attribute__((packed)) or __attribute__((aligned)).  This was
working before because there's a Windows header that #defines
__attribute__(x) to nothing.  We should fix this by removing
that #define entirely, and dealing with the fallout separately
which may turn up even more bugs.

I fixed this by replacing them with the corresponding LLVM
macros which understand how to do these operations on all the
different compilers.

llvm-svn: 280757
lldb/include/lldb/Host/windows/AutoHandle.h
lldb/source/Plugins/Process/Utility/RegisterContext_x86.h