1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 08:23:21 +01:00
llvm-mirror/test/MC/AsmParser
Jim Grosbach 2f728674cf 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

llvm-svn: 135921
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 MC: Allow .common as alias for .comm assembler directive. PR10116. 2011-06-18 13:51:54 +00:00
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 Add a test for the chained directives that I forgot last time. 2011-05-26 05:17:43 +00:00
directive_set.s
directive_space.s Add support for .skip. 2011-04-07 20:26:23 +00:00
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 Test that ".byte 1, 2, 3, 4" does the right thing. 2011-06-07 17:32:17 +00:00
directive_zerofill.s
dollars-in-identifiers.s
dot-symbol.s
equ.s
expr_symbol_modifiers.s
exprs-invalid.s Asm parser range checking on .<size> <value> directives. 2011-06-29 16:05:14 +00:00
exprs.s
floating-literals.s Adding a test for "-inf" as well. 2011-03-29 21:54:10 +00:00
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 Basic support for macros with explicit arguments. 2011-06-05 02:43:45 +00:00
macro-def-in-instantiation.s
macros-parsing.s
macros.s
rename.s Don't store Twine temporaries, it's not safe. 2011-04-09 11:26:27 +00:00
section.s Update tests 2011-04-07 23:51:25 +00:00
variables-invalid.s
variables.s