From ba013013b2cf64e385df6f5283c3412ca1f68fbb Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Tue, 11 Aug 2009 03:42:33 +0000 Subject: 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 | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 test/MC/AsmParser/directive_darwin_section.s (limited to 'test') diff --git a/test/MC/AsmParser/directive_darwin_section.s b/test/MC/AsmParser/directive_darwin_section.s new file mode 100644 index 0000000..4fea2ea --- /dev/null +++ b/test/MC/AsmParser/directive_darwin_section.s @@ -0,0 +1,4 @@ +# RUN: llvm-mc -triple i386-apple-darwin9 %s | FileCheck %s + +# CHECK: .section __DWARF,__debug_frame,regular,debug + .section __DWARF,__debug_frame,regular,debug -- cgit v1.1