llvm-project/llvm/lib/MC/MCParser
Tozer 5c6f748cbc [MCParser] Correctly handle CRLF line ends when consuming line comments
Fixes issue: https://bugs.llvm.org/show_bug.cgi?id=47983

The AsmLexer currently has an issue with lexing line comments in files
with CRLF line endings, in which it reads the carriage return as being
part of the line comment. This causes an error for certain valid comment
layouts; this patch fixes this by excluding the carriage return from the
line comment.

Differential Revision: https://reviews.llvm.org/D90234
2021-08-17 15:52:51 +01:00
..
AsmLexer.cpp [MCParser] Correctly handle CRLF line ends when consuming line comments 2021-08-17 15:52:51 +01:00
AsmParser.cpp [MC][CodeGen] Emit constant pools earlier 2021-08-03 20:55:31 -07:00
CMakeLists.txt [AIX] Add dummy XCOFF MCAsmParserExtension 2021-07-02 16:12:21 +00:00
COFFAsmParser.cpp [MC] Untangle MCContext and MCObjectFileInfo 2021-05-05 10:03:02 -07:00
COFFMasmParser.cpp [llvm] Rename StringRef _lower() method calls to _insensitive() 2021-06-25 00:22:01 +03:00
DarwinAsmParser.cpp [MC] Untangle MCContext and MCObjectFileInfo 2021-05-05 10:03:02 -07:00
ELFAsmParser.cpp [MC][ELF] Do not error on parsing .debug_* section directive for MIPS 2021-08-09 08:54:56 +03:00
MCAsmLexer.cpp
MCAsmParser.cpp [MCStreamer] Move emission of attributes section into MCELFStreamer 2021-06-30 16:00:27 -05:00
MCAsmParserExtension.cpp [COFF] Add cg_profile directive and .llvm.call-graph-profile section 2020-07-10 17:07:30 -07:00
MCTargetAsmParser.cpp
MasmParser.cpp [ms] [llvm-ml] Fix macro case-insensitivity 2021-07-22 15:50:52 -04:00
WasmAsmParser.cpp [WebAssembly] Add TLS data segment flag: WASM_SEG_FLAG_TLS 2021-05-12 13:31:02 -07:00
XCOFFAsmParser.cpp [AIX] Add dummy XCOFF MCAsmParserExtension 2021-07-02 16:12:21 +00:00