aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineInstrBundle.cpp
diff options
context:
space:
mode:
authorAna Pazos <apazos@codeaurora.org>2018-08-25 01:34:32 +0000
committerAna Pazos <apazos@codeaurora.org>2018-08-25 01:34:32 +0000
commit353f67a741daa97e94bd402f6394c6d89fd8a987 (patch)
tree6169730fa1f4284457b6b9d5f9e92656e5547d92 /llvm/lib/CodeGen/MachineInstrBundle.cpp
parenta2e0c2462a5ed4ddabab03dfddb97efc54682bde (diff)
downloadllvm-353f67a741daa97e94bd402f6394c6d89fd8a987.zip
llvm-353f67a741daa97e94bd402f6394c6d89fd8a987.tar.gz
llvm-353f67a741daa97e94bd402f6394c6d89fd8a987.tar.bz2
[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
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstrBundle.cpp')
0 files changed, 0 insertions, 0 deletions