1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 20:43:44 +02:00
llvm-mirror/test
David Peixotto ff3935d81d Integrated assembler incorrectly lexes ARM-style comments
The integrated assembler fails to properly lex arm comments when
they are adjacent to an identifier in the input stream. The reason
is that the arm comment symbol '@' is also used as symbol variant in
other assembly languages so when lexing an identifier it allows the
'@' symbol as part of the identifier.

Example:
  $ cat comment.s
  foo:
    add r0, r0@got to parse this as a comment

  $ llvm-mc -triple armv7 comment.s
  comment.s:4:18: error: unexpected token in argument list
    add r0, r0@got to parse this as a comment
                   ^
This should be parsed as correctly as `add r0, r0`.

This commit modifes the assembly lexer to not include the '@' symbol
in identifiers when lexing for targets that use '@' for comments.

llvm-svn: 196607
2013-12-06 20:35:58 +00:00
..
Analysis Use correct size for address space in BasicAA. 2013-11-16 00:36:43 +00:00
Assembler Debug Info: update testing cases to specify the debug info version number. 2013-11-23 01:16:29 +00:00
Bindings Update Ocaml/vmcore.ml to emit a "Debug Info Version" module flag. 2013-12-02 21:25:56 +00:00
Bitcode Debug Info: drop debug info via upgrading path if version number does not match. 2013-12-02 21:29:56 +00:00
BugPoint Debug Info: update testing cases to specify the debug info version number. 2013-11-23 01:16:29 +00:00
CodeGen Bug 18149: [AArch32] VSel instructions has no ARMCC field 2013-12-06 17:56:48 +00:00
DebugInfo DebugInfo: Ensure unit IDs (for non-skeletal units) match thein index in the list 2013-12-06 19:38:46 +00:00
ExecutionEngine Fix lit config for disabled MCJIT tests on ARM 2013-12-03 13:48:28 +00:00
Feature Debug Info: update testing cases to specify the debug info version number. 2013-11-23 01:16:29 +00:00
FileCheck FileCheck: fix a bug with multiple --check-prefix options. Similar to r194565 2013-11-20 13:25:05 +00:00
Instrumentation [asan] rewrite asan's stack frame layout 2013-12-06 09:00:17 +00:00
Integer
JitListener Debug Info: update testing cases to specify the debug info version number. 2013-11-22 21:49:45 +00:00
Linker Debug Info: update testing cases to specify the debug info version number. 2013-11-22 21:49:45 +00:00
LTO
MC Integrated assembler incorrectly lexes ARM-style comments 2013-12-06 20:35:58 +00:00
Object Correct word hyphenations 2013-12-05 05:44:44 +00:00
Other Add a fixed version of r195470 back. 2013-11-22 17:58:12 +00:00
TableGen
tools llvm-cov: Changed extension from .llcov to .gcov. 2013-12-05 20:45:36 +00:00
Transforms Apply transformation on OS X 10.9+ and iOS 7.0+: pow(10, x) ―> __exp10(x) 2013-12-05 22:42:50 +00:00
Unit
Verifier
YAMLParser
.clang-format Add .clang-format without column limit to subdirectory tests/. 2013-11-19 04:26:05 +00:00
CMakeLists.txt check-llvm: Ask llvm-config about assertion mode, instead of llc. 2013-12-03 23:22:25 +00:00
lit.cfg check-llvm: Ask llvm-config about assertion mode, instead of llc. 2013-12-03 23:22:25 +00:00
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh