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)
commitd7d427732e3e7f571bc915c15974e184733bbd01
treefdd6a57bf418275b890e8c43fc3cc38e5d71fcf1
parent6d557f37cf463fb19f34b8eacd98ef5b6da4aa4b
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211913 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCContext.h
lib/MC/MCContext.cpp
lib/MC/MCParser/COFFAsmParser.cpp
test/MC/COFF/section-comdat.s