llvm-mc: Fix darwin .section parsing. It was skipping the section name and a ','
authorDaniel Dunbar <daniel@zuster.org>
Tue, 11 Aug 2009 03:42:33 +0000 (03:42 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Tue, 11 Aug 2009 03:42:33 +0000 (03:42 +0000)
commitace63127bc7501d4d7707f744cdae09894342aa9
treec8ae97464c17bc0e1fff0a911b3c97608073adaa
parentea6408f8cd17b065e414611e01a7133d118429e9
llvm-mc: Fix darwin .section parsing. It was skipping the section name and a ','
(and outputting a diagnostic pointing at the wrong place), all of which lead to
much confusion.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78637 91177308-0d34-0410-b5e6-96231b3b80d8
test/MC/AsmParser/directive_darwin_section.s [new file with mode: 0644]
tools/llvm-mc/AsmParser.cpp