1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/lib/MC/MCParser
Lucas Prates b01d1181e9 [MC] Allowing the use of $-prefixed integer as asm identifiers
Summary:
Dollar signed prefixed integers were not allowed by the AsmParser to be
used as Identifiers, differing from the GNU assembler behavior.

This patch updates the parsing of Identifiers to consider such cases as
valid, where the identifier string includes the $ prefix itself. As the
Lexer currently splits these occurrences into separate tokens, those
need to be combined by the AsmParser itself.

Reviewers: efriedma, chill

Reviewed By: efriedma

Subscribers: sdardis, hiraditya, jrtc27, atanasyan, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D75111
2020-03-06 16:27:51 +00:00
..
AsmLexer.cpp [ms] [llvm-ml] Add a draft MASM parser 2020-02-16 12:30:46 -05:00
AsmParser.cpp [MC] Allowing the use of $-prefixed integer as asm identifiers 2020-03-06 16:27:51 +00:00
CMakeLists.txt [ms] [llvm-ml] Add a draft MASM parser 2020-02-16 12:30:46 -05:00
COFFAsmParser.cpp [MC] De-capitalize some MCStreamer::Emit* functions 2020-02-14 19:11:53 -08:00
COFFMasmParser.cpp [ms] [llvm-ml] Add a draft MASM parser 2020-02-16 12:30:46 -05:00
DarwinAsmParser.cpp [MC] De-capitalize MCStreamer::Emit{Bundle,Addrsig}* etc 2020-02-15 09:11:48 -08:00
ELFAsmParser.cpp [MC] Add MCStreamer::emitInt{8,16,32,64} 2020-02-29 09:40:21 -08:00
LLVMBuild.txt
MasmParser.cpp [ms] Rename ParsingInlineAsm functions/variables to reflect MS-specificity. 2020-02-26 15:19:40 -05:00
MCAsmLexer.cpp
MCAsmParser.cpp [ms] [llvm-ml] Add a draft MASM parser 2020-02-16 12:30:46 -05:00
MCAsmParserExtension.cpp
MCTargetAsmParser.cpp
WasmAsmParser.cpp [MC] De-capitalize MCStreamer::Emit{Bundle,Addrsig}* etc 2020-02-15 09:11:48 -08:00