llvm-6502/lib/MC/MCParser
David Majnemer 3f22cc1df6 MC: Add support for treating $ as a reference to the PC
The binutils assembler supports a mode called DOLLAR_DOT which treats
the dollar sign token as a reference to the current program counter if
the dollar sign doesn't precede a constant or identifier.

This commit adds a new MCAsmInfo flag stating whether or not a given
target supports this interpretation of the dollar sign token; by
default, this flag is not enabled.

Further, enable this flag for PPC. The system assembler for AIX and
binutils both support using the dollar sign in this manner.

This fixes PR17353.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191368 91177308-0d34-0410-b5e6-96231b3b80d8
2013-09-25 10:47:21 +00:00
..
AsmLexer.cpp Support C99 hexadecimal floating-point literals in assembly 2013-08-14 14:23:31 +00:00
AsmParser.cpp MC: Add support for treating $ as a reference to the PC 2013-09-25 10:47:21 +00:00
CMakeLists.txt
COFFAsmParser.cpp MC: Implement COFF .linkonce directive 2013-07-06 12:13:10 +00:00
DarwinAsmParser.cpp The integrated darwin assembler can hang in an infinite loop (or get an assert 2013-08-28 17:50:59 +00:00
ELFAsmParser.cpp ELF: Parse types in directives like binutils gas 2013-09-21 05:25:12 +00:00
LLVMBuild.txt
Makefile
MCAsmLexer.cpp
MCAsmParser.cpp MCParser: Update method names per coding guidelines. 2013-02-20 22:21:35 +00:00
MCAsmParserExtension.cpp
MCTargetAsmParser.cpp