diff options
author | Hans Wennborg <hans@hanshq.net> | 2016-10-20 15:59:08 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2016-10-20 15:59:08 +0000 |
commit | 7314c48bcbc5d0ebcda1c061c42ad0466b736416 (patch) | |
tree | 4bd9f5cad22d88aa86dd4148484933c86a6337a9 /llvm/lib/CodeGen/StackSlotColoring.cpp | |
parent | 922b63b7f1ebc53515f1d95f885c2d782cb3b0f3 (diff) | |
download | bcm5719-llvm-7314c48bcbc5d0ebcda1c061c42ad0466b736416.tar.gz bcm5719-llvm-7314c48bcbc5d0ebcda1c061c42ad0466b736416.zip |
Fix SectionPiece size when compiling with MSVC
Builds were failing with:
InputSection.h(139): error C2338: SectionPiece is too big
because MSVC does record layout differently, probably not packing the
'OutputOff' and 'Live' bitfields because their types are of different
size. Using size_t for 'Live' seems to fix it.
llvm-svn: 284740
Diffstat (limited to 'llvm/lib/CodeGen/StackSlotColoring.cpp')
0 files changed, 0 insertions, 0 deletions