diff options
author | Fangrui Song <maskray@google.com> | 2019-07-08 07:30:07 +0000 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2019-07-08 07:30:07 +0000 |
commit | 34958d12c9cae91f41f5ef5369a21746218b4519 (patch) | |
tree | bde7afed33d1005c82026a9c95a98e779a0c403c /lldb/packages/Python/lldbsuite/test/python_api | |
parent | 23d10f7a4edde835a7cd26679ffb46ba3759df73 (diff) | |
download | bcm5719-llvm-34958d12c9cae91f41f5ef5369a21746218b4519.tar.gz bcm5719-llvm-34958d12c9cae91f41f5ef5369a21746218b4519.zip |
[WebAssembly] Add static_assert(sizeof(SymbolUnion) <= 96)
On Windows, the bitfield layout rule places `ussigned Referenced : 1` at
byte offset 40, instead of byte offset 37 on *NIX. The consequence is that
sizeof(SymbolUnion) == 104 on Windows while 96 on *NIX.
To eliminate this difference, change these unsigned bitfields to bool.
Reviewed By: ruiu
Differential Revision: https://reviews.llvm.org/D64238
llvm-svn: 365296
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
0 files changed, 0 insertions, 0 deletions