llvm/test/MC/AsmParser
Jim Grosbach 686c01854e MC: Unknown assembler directives are now hard errors.
Previously, an unsupported/unknown assembler directive issued a warning.
That's generally unsafe, and inconsistent with the behaviour of pretty
much every system assembler. Now that the MC assemblers are mature
enough to be the default on multiple targets, it's reasonable to
issue errors for these.

For target or platform directives that need to stay warnings, we
should add explicit handlers for them in, e.g., ELFAsmParser.cpp,
DarwinAsmParser.cpp, et. al., and issue the warning there.

rdar://9246275

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155926 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-01 18:38:27 +00:00
..
assignment.s
cfi-unfinished-frame.s Split Finish into Finish and FinishImpl to have a common place to do end of 2012-01-07 03:13:18 +00:00
conditional_asm.s
dash-n.s llvm-mc: Don't crash when using -n and we see a directive before the initial section. 2010-09-09 22:42:59 +00:00
directive_abort.s
directive_align.s
directive_ascii.s Add support for the .string directive. 2010-10-28 20:02:27 +00:00
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-errors.s The error check for using -g with a .s file already containing dwarf .file 2012-01-11 18:04:47 +00:00
directive_file.s Add support for a new extension to the .file directive: 2011-10-17 23:05:28 +00:00
directive_fill.s
directive_incbin.s Improve the implementation of .incbin directive by replacing a loop by using 2011-12-14 22:34:45 +00:00
directive_include.s
directive_lcomm.s
directive_line.s
directive_loc.s Parse and remember discriminators in .loc line. I try to output them with 2010-11-13 03:18:27 +00:00
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 Implement .equ directive as a synonym to .set. 2010-10-28 16:22:58 +00:00
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 MC: Improve some diagnostics on uses of '.' pseudo-symbol. 2011-03-25 17:47:17 +00:00
equ.s PR8951: Support for .equiv in integrated assembler, patch by Jörg Sonnenberger! 2011-01-28 03:04:41 +00:00
expr_symbol_modifiers.s MC/AsmParser: Add support for 'a + 4@GOTPCREL' and friends, by reconsing the 2010-09-17 02:47:07 +00:00
exprs-invalid.s Asm parser range checking on .<size> <value> directives. 2011-06-29 16:05:14 +00:00
exprs.s Fix AsmParser binary precedence for shift operators. 2011-08-20 16:24:13 +00:00
floating-literals.s Adding a test for "-inf" as well. 2011-03-29 21:54:10 +00:00
hello.s
ifdef.s Support for .ifdef / .ifndef in the assembler parser. Patch by Joerg Sonnenberger. 2011-02-08 22:29:56 +00:00
ifndef.s Support for .ifdef / .ifndef in the assembler parser. Patch by Joerg Sonnenberger. 2011-02-08 22:29:56 +00:00
incbin_abcd Add the .incbin directive which takes the binary data from a file and emits 2011-12-14 21:47:48 +00:00
labels.s Move some ELF directives into ELF asm parser. 2011-07-25 17:55:35 +00:00
line_with_hash.s Fix parsing of a line with only a # in it. 2011-10-19 18:48:52 +00:00
lit.local.cfg Continue cleanup of LIT, getting rid of the remaining artifacts from dejagnu 2012-03-25 09:02:19 +00:00
macro-args.s MC assembly parser handling for trailing comma in macro instantiation. 2012-04-16 21:18:49 +00:00
macro-def-in-instantiation.s
macros-parsing.s MC: Unknown assembler directives are now hard errors. 2012-05-01 18:38:27 +00:00
macros.s MC: Unknown assembler directives are now hard errors. 2012-05-01 18:38:27 +00:00
pr11865.s Handle recursive variable definitions directly. This gives us better error 2012-01-28 05:57:00 +00:00
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 Assembler should accept redefinitions of unused variable symbols. 2012-03-20 21:33:21 +00:00
variables.s