aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorAyke van Laethem <aykevanlaethem@gmail.com>2019-11-15 20:13:36 +0100
committerAyke van Laethem <aykevanlaethem@gmail.com>2019-11-16 13:28:53 +0100
commit57776f71fa32a5b170a9ce82cb2c2da0a207908c (patch)
treed435be240b3e64d177757f65e2ef7d9d18636991 /clang/lib/CodeGen/CodeGenModule.cpp
parenta4a7c1259e8a8f2d11fa29686a6c2834948c1358 (diff)
downloadllvm-57776f71fa32a5b170a9ce82cb2c2da0a207908c.zip
llvm-57776f71fa32a5b170a9ce82cb2c2da0a207908c.tar.gz
llvm-57776f71fa32a5b170a9ce82cb2c2da0a207908c.tar.bz2
[ELF] Fix lld build on Windows/MinGW
The patch in https://reviews.llvm.org/D64077 causes a build failure because both the Defined and SharedSymbol classes are bigger than 80 bytes on MinGW 8. This patch fixes this build failure by changing the type of the bitfields. It is a similar change to the bitfield changes in https://reviews.llvm.org/D64238, but instead of changing to bool I decided to use uint8_t because one of the bitfields takes up two bits instead of one. Note: the patch is slightly different from the one reviewed in Phabricator, but it is a trivial change to align it with LLVM master instead of LLVM 9. Also, it passes all lld tests. Differential Revision: https://reviews.llvm.org/D70266
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions