Fix alignment of .comm and .lcomm on mingw32.
authorBenjamin Kramer <benny.kra@googlemail.com>
Fri, 7 Sep 2012 21:08:01 +0000 (21:08 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Fri, 7 Sep 2012 21:08:01 +0000 (21:08 +0000)
commita9e37c5eaf79c3a32f2921536fb7e12514e86fb2
treeb0906a5545739e94cfa1a199df774d59929bba12
parentb72a90e05b296d13b6fb4efc54eee9f6f5c0ea7b
Fix alignment of .comm and .lcomm on mingw32.

For some reason .lcomm uses byte alignment and .comm log2 alignment so we can't
use the same setting for both. Fix this by reintroducing the LCOMM enum.
I verified this against mingw's gcc.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163420 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCAsmInfo.h
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
lib/MC/MCAsmInfo.cpp
lib/MC/MCAsmInfoCOFF.cpp
lib/MC/MCAsmInfoDarwin.cpp
lib/MC/MCAsmStreamer.cpp
lib/MC/MCParser/AsmParser.cpp
lib/Target/Hexagon/MCTargetDesc/HexagonMCAsmInfo.cpp
test/MC/COFF/comm.ll [new file with mode: 0644]