llvm/test/MC/AsmParser
Adrian Prantl deac137da7 MCParser/Debug info: Accept line number 0 as a legitimate value, since
CFE produces it to indicate artificial locations.
c.f.: DWARF standard, Table 6.2:
line -- An unsigned integer indicating a source line number. Lines are numbered beginning at 1. The compiler may emit the value 0 in cases where an instruction cannot be attributed to any source line.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191471 91177308-0d34-0410-b5e6-96231b3b80d8
2013-09-26 23:37:11 +00:00
..
align_invalid.s Prefix failing commands with not to make clear they are expected to fail. 2013-07-03 16:41:29 +00:00
assignment.s llvm-mc: Support reassignment of variables in one special case, when the 2010-05-17 17:46:23 +00:00
bad-macro.s Make the wording in of the "expected identifier" error in the .macro directive 2012-08-21 17:12:05 +00:00
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
cfi-window-save.s Implements parsing and emitting of .cfi_window_save in MC. 2013-09-26 14:49:40 +00:00
conditional_asm.s MC/AsmParser: Attempt to constant fold expressions up-front. This ensures we avoid fixups for obvious cases like '-(16)'. 2010-02-13 01:28:07 +00:00
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 llvm-mc: Make sure we exit != 0 if any errors are encountered. 2010-09-09 22:42:56 +00:00
directive_align.s Prefix failing commands with not to make clear they are expected to fail. 2013-07-03 16:41:29 +00:00
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 llvm-mc: Fix darwin .section parsing. It was skipping the section name and a ',' 2009-08-11 03:42:33 +00:00
directive_desc.s MC/AsmParser: Move .desc parsing to Darwin specific parser. 2010-07-12 19:22:53 +00:00
directive_elf_size.s Test for ELF .size directive. 2010-07-17 03:15:24 +00:00
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 Improve handling of .file, .include and .incbin directives to 2013-09-05 19:14:26 +00:00
directive_fill.s Make the size and expr arguments of .fill directive optional. 2013-09-24 17:44:41 +00:00
directive_incbin.s Improve handling of .file, .include and .incbin directives to 2013-09-05 19:14:26 +00:00
directive_include.s Improve handling of .file, .include and .incbin directives to 2013-09-05 19:14:26 +00:00
directive_lcomm.s MC: Overhaul handling of .lcomm 2012-09-07 17:25:13 +00:00
directive_line.s llvm-mc: Sketch parsing for .file, .line, and .loc. No streamer hooks for these 2009-08-11 04:24:50 +00:00
directive_loc.s MCParser/Debug info: Accept line number 0 as a legitimate value, since 2013-09-26 23:37:11 +00:00
directive_lsym.s llvm-mc: MCStreamer cleanups. - Remove EmitLocalSymbol, this is unsupported for now. 2009-08-30 06:17:16 +00:00
directive_org.s llvm-mc: Add -triple, and start fetching the target asm printer. 2009-07-17 22:38:58 +00:00
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 MC/AsmParser: Move some misc. Darwin directive handling to DarwinAsmParser. 2010-07-12 18:49:22 +00:00
directive_symbol_attrs.s llvm-mc: Add -triple, and start fetching the target asm printer. 2009-07-17 22:38:58 +00:00
directive_tbss.s More data/parsing support for tls directives. Add a few more testcases 2010-05-17 22:53:55 +00:00
directive_tdata.s More data/parsing support for tls directives. Add a few more testcases 2010-05-17 22:53:55 +00:00
directive_thread_init_func.s More data/parsing support for tls directives. Add a few more testcases 2010-05-17 22:53:55 +00:00
directive_tlv.s More data/parsing support for tls directives. Add a few more testcases 2010-05-17 22:53:55 +00:00
directive_values.s AsmParser: More generic support for integer type suffices. 2013-02-26 20:17:10 +00:00
directive_zerofill.s MC/AsmParser: Move .tbss and .zerofill parsing to Darwin specific parser. 2010-07-12 19:37:35 +00:00
dollars-in-identifiers.s MC/AsmParser: Change ParseExpression to use ParseIdentifier(), to support 2010-08-24 19:13:42 +00:00
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 a bug in the MC asm parser evaluating expressions. It was treating: 2013-05-07 21:40:58 +00:00
extern.s AsmParser: ignore the .extern directive. 2012-05-12 11:18:59 +00:00
floating-literals.s Add test-case for hex floating-literals 2013-08-14 14:55:54 +00:00
hello.s MC/AsmParser: Move some misc. Darwin directive handling to DarwinAsmParser. 2010-07-12 18:49:22 +00:00
ifb.s AsmParser: Add support for .ifb and .ifnb directives. 2012-05-12 11:18:42 +00:00
ifc.s AsmParser: Add support for .ifc and .ifnc directives. 2012-05-12 11:18:51 +00:00
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 MC: Overhaul handling of .lcomm 2012-09-07 17:25:13 +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 [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
macro-args.s Support default parameters/arguments for assembler macros. 2012-09-19 20:29:04 +00:00
macro-def-in-instantiation.s tests: Force another triple. 2010-07-19 00:43:58 +00:00
macro-err1.s Factor macro argument parsing into helper methods and add support for .irp. 2012-06-15 14:02:34 +00:00
macro-irp.s Factor macro argument parsing into helper methods and add support for .irp. 2012-06-15 14:02:34 +00:00
macro-irpc.s Implement irpc. Extracted from a patch by the PaX team. I just added the test. 2012-06-16 18:03:25 +00:00
macro-rept-err1.s Enhance unmatched '.endr' directive error message in assembler. 2012-09-19 20:23:43 +00:00
macro-rept-err2.s Add support for the .rept directive. Patch by Vladmir Sorokin. I added support 2012-05-12 16:31:10 +00:00
macro-rept.s Add support for the .rept directive. Patch by Vladmir Sorokin. I added support 2012-05-12 16:31:10 +00:00
macros-darwin.s Prefix failing commands with not to make clear they are expected to fail. 2013-07-03 16:41:29 +00:00
macros-parsing.s MC: Unknown assembler directives are now hard errors. 2012-05-01 18:38:27 +00:00
macros.s Add support for macro parameters/arguments delimited by spaces, 2012-09-19 20:36:12 +00:00
pr11865.s Handle recursive variable definitions directly. This gives us better error 2012-01-28 05:57:00 +00:00
purgem.s Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
rename.s Don't store Twine temporaries, it's not safe. 2011-04-09 11:26:27 +00:00
section_names.s Replace coff-/elf-dump with llvm-readobj 2013-04-12 04:06:46 +00:00
section.s Replace coff-/elf-dump with llvm-readobj 2013-04-12 04:06:46 +00:00
secure_log_unique.s llvm/test/MC/AsmParser/secure_log_unique.s: Use env(1) here. Then r186611 can be reverted. 2013-07-19 01:26:08 +00:00
variables-invalid.s Assembler should accept redefinitions of unused variable symbols. 2012-03-20 21:33:21 +00:00
variables.s Force triple in tests. 2009-10-16 16:30:02 +00:00