1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/lib/MC
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
..
MCDisassembler Remove trailing space 2018-07-30 19:41:25 +00:00
MCParser [MC, RISCV] Fixed StringRef Assertion `Index < Length && "Invalid index!"' 2018-08-25 01:34:32 +00:00
CMakeLists.txt
ConstantPools.cpp
ELFObjectWriter.cpp MC: Redirect .addrsig directives referring to private (.L) symbols to the section symbol. 2018-08-06 21:59:58 +00:00
LLVMBuild.txt
MachObjectWriter.cpp Remove trailing space 2018-07-30 19:41:25 +00:00
MCAsmBackend.cpp
MCAsmInfo.cpp
MCAsmInfoCOFF.cpp
MCAsmInfoDarwin.cpp
MCAsmInfoELF.cpp
MCAsmInfoWasm.cpp
MCAsmMacro.cpp
MCAsmStreamer.cpp Remove trailing space 2018-07-30 19:41:25 +00:00
MCAssembler.cpp [DebugInfo] Fix build failed in clang-x86_64-linux-selfhost-modules. 2018-08-01 04:17:41 +00:00
MCCodeEmitter.cpp
MCCodePadder.cpp
MCCodeView.cpp
MCContext.cpp
MCDwarf.cpp [DWARF] Unclamp line table version on Darwin for v5 and later. 2018-08-08 21:16:50 +00:00
MCELFObjectTargetWriter.cpp
MCELFStreamer.cpp
MCExpr.cpp [MC] Cleanup noop default case spelling. NFC. 2018-08-16 17:22:31 +00:00
MCFragment.cpp
MCInst.cpp
MCInstPrinter.cpp
MCInstrAnalysis.cpp [llvm-mca][BtVer2] Teach how to identify dependency-breaking idioms. 2018-07-31 13:21:43 +00:00
MCInstrDesc.cpp
MCLabel.cpp
MCLinkerOptimizationHint.cpp
MCMachObjectTargetWriter.cpp
MCMachOStreamer.cpp
MCNullStreamer.cpp
MCObjectFileInfo.cpp Fix -Wimplicit-fallthrough warning introduced in rL339397. 2018-08-10 11:02:44 +00:00
MCObjectStreamer.cpp [RISCV][MC] Don't fold symbol differences if requiresDiffExpressionRelocations is true 2018-08-16 11:26:37 +00:00
MCObjectWriter.cpp
MCRegisterInfo.cpp [MC] Improve error message when a codeview register is unknown 2018-08-17 21:35:14 +00:00
MCSchedule.cpp
MCSection.cpp
MCSectionCOFF.cpp
MCSectionELF.cpp
MCSectionMachO.cpp
MCSectionWasm.cpp
MCStreamer.cpp Remove trailing space 2018-07-30 19:41:25 +00:00
MCSubtargetInfo.cpp
MCSymbol.cpp
MCSymbolELF.cpp
MCTargetOptions.cpp
MCValue.cpp
MCWasmObjectTargetWriter.cpp
MCWasmStreamer.cpp [WebAssembly] Cleanup of the way globals and global flags are handled 2018-08-03 14:33:37 +00:00
MCWin64EH.cpp
MCWinCOFFStreamer.cpp [MC] Add support for the .rva assembler directive for COFF targets 2018-07-26 20:11:26 +00:00
MCWinEH.cpp
StringTableBuilder.cpp
SubtargetFeature.cpp
WasmObjectWriter.cpp [WebAssembly] Ensure relocation entries are ordered by offset 2018-08-22 17:27:31 +00:00
WinCOFFObjectWriter.cpp Initialize the address-significance table fragment's layout order. 2018-08-23 06:57:49 +00:00