1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/lib/MC/MCParser
Ana Pazos 773c96d05b [MC, RISCV] Fixed StringRef Assertion `Index < Length && "Invalid index!"'
Summary:
Handle the case IDVal is an empty string.

This bug was uncovered by a LLVM MC Assembler Protocol Buffer
Fuzzer  for the RISC-V assembly language.

Reviewers: rnk

Reviewed By: rnk

Subscribers: rnk, niravd, pcc, peter.smith, asb, grosbach, llvm-commits, bcain, kito-cheng, shiva0217, rogfer01, PkmX

Differential Revision: https://reviews.llvm.org/D50808

llvm-svn: 340678
2018-08-25 01:34:32 +00:00
..
AsmLexer.cpp [MC] Fix regression tests on Windows when git “core.autocrlf” is set to true. 2017-11-17 21:59:43 +00:00
AsmParser.cpp [MC, RISCV] Fixed StringRef Assertion `Index < Length && "Invalid index!"' 2018-08-25 01:34:32 +00:00
CMakeLists.txt
COFFAsmParser.cpp [MC] Add support for the .rva assembler directive for COFF targets 2018-07-26 20:11:26 +00:00
DarwinAsmParser.cpp [MC] Error on a .zerofill directive in a non-virtual section 2018-07-02 17:29:43 +00:00
ELFAsmParser.cpp Revert "Add a warning if someone attempts to add extra section flags to sections" 2018-08-05 14:23:37 +00:00
LLVMBuild.txt
MCAsmLexer.cpp [Asm] Refactor debug printing of AsmToken 2018-03-06 14:02:14 +00:00
MCAsmParser.cpp [MC][X86] Allow assembler variable assignment to register name. 2018-06-05 15:13:39 +00:00
MCAsmParserExtension.cpp [MC] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-02-10 01:33:54 +00:00
MCTargetAsmParser.cpp [Asm] Add debug tracing in table-generated assembly matcher 2017-10-11 09:17:43 +00:00