]> granicus.if.org Git - clang/commit
Use the correct alignment for uuid descriptors
authorDavid Majnemer <david.majnemer@gmail.com>
Sun, 27 Mar 2016 04:46:14 +0000 (04:46 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Sun, 27 Mar 2016 04:46:14 +0000 (04:46 +0000)
commit896a444a619a85ae9a9d7b888762399cc9bad269
tree44fdc9fde51d13bc65e7ed5f5887ac0918a5fdcb
parent21d4b0aad0faf4881e2290462f39138aef7185ea
Use the correct alignment for uuid descriptors

The _GUID_ descriptors emitted by MSVC have alignment 8 for 64-bit
builds: we should do the same if the linker picks the "wrong" COMDAT.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@264530 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenModule.cpp
test/CodeGenCXX/microsoft-uuidof.cpp