MC: Fix associative sections on COFF
authorDavid Majnemer <david.majnemer@gmail.com>
Fri, 27 Jun 2014 17:19:44 +0000 (17:19 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Fri, 27 Jun 2014 17:19:44 +0000 (17:19 +0000)
commitc57d0382402a0422a7cf9312c50a97b8be092943
tree52097bd611a448d9bef0745f507464237b7461d8
parent05d761cf244c3a917285b51f84ee8bfd82286684
MC: Fix associative sections on COFF

COFF sections in MC were represented by a tuple of section-name and
COMDAT-name.  This is not sufficient to represent a .text section
associated with another .text section; we need a way to distinguish
between the key section and the one marked associative.

llvm-svn: 211913
llvm/include/llvm/MC/MCContext.h
llvm/lib/MC/MCContext.cpp
llvm/lib/MC/MCParser/COFFAsmParser.cpp
llvm/test/MC/COFF/section-comdat.s