readPrefixes() assumes insn->bytes is non-empty. The code path is not
exercised in llvm-mc because llvm-mc does not feed empty input to
MCDisassembler::getInstruction().
This bug is uncovered by
|
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Disassembler.cpp | ||
| DwarfLineTables.cpp | ||
| MCInstPrinter.cpp | ||
| StringTableBuilderTest.cpp | ||
| TargetRegistry.cpp | ||