MC: Add .section directive to COFF
authorNico Rieck <nico.rieck@gmail.com>
Thu, 4 Jul 2013 21:32:07 +0000 (21:32 +0000)
committerNico Rieck <nico.rieck@gmail.com>
Thu, 4 Jul 2013 21:32:07 +0000 (21:32 +0000)
commita6d343a688073664b3a80aa117e0d3cbecf28014
tree8a200175ba18e94d9446e29131c5d19f234e0893
parente7006bb04bd881478fe24d6fbb3051ba3f63d746
MC: Add .section directive to COFF

Supports GAS flags "abdnrswxy". No support for alignment or subsections.

Fixes PR16366.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185669 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCParser/COFFAsmParser.cpp
test/MC/COFF/section-invalid-flags.s [new file with mode: 0644]
test/MC/COFF/section.s [new file with mode: 0644]
test/MC/COFF/seh-section.s