]> granicus.if.org Git - clang/commit
Fix r350643 to limit COFF emission to <= 32 BYTES instead of BITS.
authorErich Keane <erich.keane@intel.com>
Thu, 7 Feb 2019 15:14:11 +0000 (15:14 +0000)
committerErich Keane <erich.keane@intel.com>
Thu, 7 Feb 2019 15:14:11 +0000 (15:14 +0000)
commit7bd53f94f58c7e0758086932277a79720a9392fc
tree6c2cb01f360f6525cd9f6e0805e9c53d4c4c6227
parentea4ab3c569e4b6de3f9f6cbe5f095200652229bf
Fix r350643 to limit COFF emission to <= 32 BYTES instead of BITS.

The patch in r350643 incorrectly sets the COFF emission based on bits
instead of bytes. This patch converts the 32 via CharUnits to bits to
compare the correct values.

Change-Id: Icf38a16470ad5ae3531374969c033557ddb0d323

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@353411 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenModule.cpp
test/CodeGen/microsoft-no-common-align.c