1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00
llvm-mirror/test/MC
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
..
AArch64 Remove redundant -mattr options from llvm-objdump commands. 2016-06-16 15:47:19 +00:00
AMDGPU AMDGPU/SI: Correctly encode constant expressions 2016-06-15 03:09:39 +00:00
ARM [ARM] Accept conditional versions of BXNS and BLXNS 2016-06-07 14:58:48 +00:00
AsmParser Refactor and cleanup Assembly Parsing / Lexing 2016-06-17 16:06:17 +00:00
COFF [codeview] Avoid emitting an empty file checksum table 2016-06-08 17:50:29 +00:00
Disassembler [mips][micromips] Implement DCLO, DCLZ, DROTR, DROTR32 and DROTRV instructions 2016-06-16 07:06:25 +00:00
ELF Fix production of R_X86_64_GOTPCRELX/R_X86_64_REX_GOTPCRELX. 2016-05-28 15:51:38 +00:00
Hexagon Remove redundant -mattr options from llvm-objdump commands. 2016-06-16 15:47:19 +00:00
Lanai [lanai] isBrImm should accept any non-constant immediate. 2016-03-31 17:58:55 +00:00
MachO CodeGen: Use PLT relocations for relative references to unnamed_addr functions. 2016-04-22 20:40:10 +00:00
Markup
Mips [llvm-objdump] Support detection of feature bits from the object and implement this for Mips. 2016-06-16 09:17:03 +00:00
PowerPC Add aliases for mfvrsave/mtvrsave. 2016-06-09 23:27:48 +00:00
Sparc Don't pass a Reloc::Model to MC. 2016-05-18 11:58:50 +00:00
SystemZ [SystemZ] Support Compare and Traps 2016-06-10 19:58:10 +00:00
X86 [x86] avoid printing unnecessary sign bits of hex immediates in asm comments (PR20347) 2016-05-28 14:58:37 +00:00