1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-23 21:13:02 +02:00
llvm-mirror/test/MC/AsmParser
Nirav Dave 459830f670 Refactor and cleanup Assembly Parsing / Lexing
Recommiting after fixing non-atomic insert to front of SmallVector in
MCAsmLexer.h

Add explicit Comment Token in Assembly Lexing for future support for
outputting explicit comments from inline assembly. As part of this,
CPPHash Directives are now explicitly distinguished from Hash line
comments in Lexer.

Line comments are recorded as EndOfStatement tokens, not Comment tokens
to simplify compatibility with current TargetParsers. This slightly
complicates comment output.

This remove all lexing tasks out of the parser, does minor cleanup
to remove extraneous newlines Asm Output, and some improvements white
space handling.

Reviewers: rtrieu, dwmw2, rnk

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D20009

llvm-svn: 273007
2016-06-17 16:06:17 +00:00
..
align_invalid.s
assignment.s
at-pseudo-variable-bad.s [MC] [IAS] Add support for the \@ .macro pseudo-variable. 2015-04-27 10:50:29 +00:00
at-pseudo-variable.s [MC] [IAS] Add support for the \@ .macro pseudo-variable. 2015-04-27 10:50:29 +00:00
bad-macro.s
cfi-unfinished-frame.s
cfi-window-save.s
comments-x86-darwin.s Followup to 258750; update all MC tests to use .p2align . 2016-01-26 00:27:59 +00:00
conditional_asm.s
dash-n.s
defsym_error1.s Teaching llvm-mc how to understand the defsym command line option. This allows integer-constant symbols to be defined on the command line and used during assembly. 2015-06-07 01:46:24 +00:00
defsym_error2.s Teaching llvm-mc how to understand the defsym command line option. This allows integer-constant symbols to be defined on the command line and used during assembly. 2015-06-07 01:46:24 +00:00
defsym.s Teaching llvm-mc how to understand the defsym command line option. This allows integer-constant symbols to be defined on the command line and used during assembly. 2015-06-07 01:46:24 +00:00
directive_abort.s
directive_align.s Followup to 258750; update all MC tests to use .p2align . 2016-01-26 00:27:59 +00:00
directive_ascii.s
directive_comm.s
directive_darwin_section.s
directive_desc.s
directive_elf_size.s
directive_end-2.s
directive_end.s
directive_file-2.s PR11740: Disable assembly debug info when assembly already contains line directives 2016-05-26 00:22:26 +00:00
directive_file.s
directive_fill.s [MC] Support symbolic expressions in assembly directives 2016-05-28 05:57:48 +00:00
directive_incbin.s
directive_include.s
directive_lcomm.s
directive_line.s
directive_loc.s
directive_lsym.s
directive_org.s
directive_rept-diagnostics.s
directive_rept.s
directive_seh.s
directive_set.s
directive_space.s [MC] Support symbolic expressions in assembly directives 2016-05-28 05:57:48 +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
directive_zerofill.s
directive-err-diagnostics.s
directive-err.s
directive-warning.s
dollars-in-identifiers.s
dot-symbol-assignment-backwards.s
dot-symbol-assignment.s
dot-symbol-non-absolute.s Simplify .org processing and make it a bit more powerful. 2015-11-04 23:50:29 +00:00
dot-symbol.s
equ.s
expr_symbol_modifiers.s
expr-shr.s [LLVM] Remove unwanted --check-prefix=CHECK from unit tests. NFC. 2016-04-19 23:51:52 +00:00
exprs-invalid.s [MC] Don't crash when .word is given bogus values 2015-10-26 02:45:50 +00:00
exprs.s [MC] Use LShr for constant evaluation of ">>" on non-arm64 darwin. 2015-11-11 00:51:36 +00:00
extern.s
floating-literals.s Ignore Lexing errors in macro body definitions 2016-06-02 17:15:05 +00:00
hash-directive.s Refactor and cleanup Assembly Parsing / Lexing 2016-06-17 16:06:17 +00:00
hello.s
if-diagnostics.s
ifb.s
ifc.s
ifdef.s
ifeqs-diagnostics.s Add support for .ifnes psuedo-op. 2015-03-18 14:20:54 +00:00
ifeqs.s
ifndef.s
ifnes.s Add support for .ifnes psuedo-op. 2015-03-18 14:20:54 +00:00
incbin_abcd
invalid-input-assertion.s
labels.s
line_with_hash.s
lit.local.cfg
macro_parsing.s Ignore Lexing errors in macro body definitions 2016-06-02 17:15:05 +00:00
macro-args.s
macro-def-in-instantiation.s
macro-err1.s
macro-exitm.s
macro-irp.s AsmParser: Fix nested .irp/.irpc 2016-03-01 08:18:28 +00:00
macro-irpc.s AsmParser: Fix nested .irp/.irpc 2016-03-01 08:18:28 +00:00
macro-qualifier-diagnostics.s
macro-qualifier.s
macro-rept-err1.s
macro-rept-err2.s
macro-rept.s
macros-argument-parsing-diagnostics.s
macros-argument-parsing.s
macros-darwin-vararg.s Fix a bunch of trivial cases of 'CHECK[^:]*$' in the tests. NFCI 2015-08-10 19:01:27 +00:00
macros-darwin.s
macros-gas.s [MC] Fixed parsing of macro arguments where expressions with spaces are present. 2016-02-11 13:48:49 +00:00
macros-parsing.s
pr11865.s
purgem.s
reassign.s [MC/AsmParser] Avoid setting MCSymbol.IsUsed in some cases 2015-08-31 17:44:53 +00:00
rename.s
section_names.s
section.s Relax these tests a bit. 2015-05-22 21:37:13 +00:00
secure_log_unique.s
undefined-local-symbol.s MC: Don't crash after issuing a diagnostic. 2015-10-16 22:07:59 +00:00
uppercase-hex.s [MCParser] Accept uppercase radix variants 0X and 0B 2016-03-18 18:22:07 +00:00
vararg-default-value.s
vararg.s Fix a bunch of trivial cases of 'CHECK[^:]*$' in the tests. NFCI 2015-08-10 19:01:27 +00:00
variables-invalid.s
variables.s