diff options
author | Tozer <stephen.tozer@sony.com> | 2021-08-17 15:38:45 +0100 |
---|---|---|
committer | Tozer <stephen.tozer@sony.com> | 2021-08-17 15:52:51 +0100 |
commit | 5c6f748cbc17d4ce82374f0c4c2364961152a1c4 (patch) | |
tree | 2774ea86701efe675a000bda07a5cc17eb1a00bf /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | c67f497e7aeab28df5fd335b3c8cc89e6d52b762 (diff) | |
download | llvm-5c6f748cbc17d4ce82374f0c4c2364961152a1c4.zip llvm-5c6f748cbc17d4ce82374f0c4c2364961152a1c4.tar.gz llvm-5c6f748cbc17d4ce82374f0c4c2364961152a1c4.tar.bz2 |
[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
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions