llvm-6502/test/MC/AsmParser
Jim Grosbach f2a35fbd60 Move some ELF directives into ELF asm parser.
The .local, .hidden, .internal, and .protected are not legal for all supported
file formats (in particular, they're invalid for MachO). Move the parsing for
them into the ELF assembly parser since that's the format they're for.
Similarly, .weak is used by COFF and ELF, but not MachO, so move the parsing
to the COFF and ELF asm parsers. Previously, using any of these directives
on Darwin would result in an assertion failure in the parser; now we get
a diagnostic as we should.

rdar://9827089


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135921 91177308-0d34-0410-b5e6-96231b3b80d8
2011-07-25 17:55:35 +00:00
..
assignment.s
conditional_asm.s
dash-n.s
dg.exp
directive_abort.s
directive_align.s
directive_ascii.s
directive_comm.s
directive_darwin_section.s
directive_desc.s
directive_elf_size.s
directive_file.s
directive_fill.s
directive_include.s
directive_lcomm.s
directive_line.s
directive_loc.s
directive_lsym.s
directive_org.s
directive_seh.s
directive_set.s
directive_space.s
directive_subsections_via_symbols.s
directive_symbol_attrs.s
directive_tbss.s
directive_tdata.s
directive_thread_init_func.s
directive_tlv.s
directive_values.s
directive_zerofill.s
dollars-in-identifiers.s
dot-symbol.s
equ.s
expr_symbol_modifiers.s
exprs-invalid.s
exprs.s
floating-literals.s
hello.s
ifdef.s
ifndef.s
labels.s Move some ELF directives into ELF asm parser. 2011-07-25 17:55:35 +00:00
macro-args.s
macro-def-in-instantiation.s
macros-parsing.s
macros.s
rename.s
section.s
variables-invalid.s
variables.s