git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@357880
91177308-0d34-0410-b5e6-
96231b3b80d8
bool CheckARMELFData = isArmElf(Obj) &&
std::get<2>(Symbols[SI]) != ELF::STT_OBJECT &&
!DisassembleAll;
- MCInst Inst;
while (Index < End) {
// AArch64 ELF binaries can interleave data and text in the same
// section. We rely on the markers introduced to understand what we
// Disassemble a real instruction or a data when disassemble all is
// provided
- Inst.clear();
+ MCInst Inst;
bool Disassembled = DisAsm->getInstruction(
Inst, Size, Bytes.slice(Index), SectionAddr + Index, DebugOut,
CommentStream);