Displaying 3 results from an estimated 3 matches for "canbranch".
Did you mean:
can_branch
2017 Nov 29
3
PPC64 Disassembler
...the "step over"
is not working for some cases.
When debugging, I can see that the disassembler analyze some instructions
forward, looking for a branch instruction
(llvm/tools/lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp:87
- "const bool can_branch = mc_disasm_ptr->CanBranch(inst);"), while
trying to set the next breakpoint.
On this case, the instruction is the "bne cr7,0x2000092c", which is a branch,
but at llvm/lib/MC/MCInstrDesc.cpp:35 -
"if (isBranch() || isCall() || isReturn() || isIndirectBranch())" it returns false,
making lldb do n...
2017 Nov 30
2
PPC64 Disassembler
...en debugging, I can see that the disassembler analyze some instructions
> >
> > forward, looking for a branch instruction
> >
> > (llvm/tools/lldb/source/Plugins/Disassembler/llvm/
> DisassemblerLLVMC.cpp:87
> >
> > – “const bool can_branch = mc_disasm_ptr->CanBranch(inst);”), while
> >
> > trying to set the next breakpoint.
> >
> >
> >
> > On this case, the instruction is the “bne cr7,0x2000092c”, which is a
> > branch,
> >
> > but at llvm/lib/MC/MCInstrDesc.cpp:35 –
> >
> > “if (isBranch()...
2017 Nov 30
2
PPC64 Disassembler
...en debugging, I can see that the disassembler analyze some instructions
> >
> > forward, looking for a branch instruction
> >
> > (llvm/tools/lldb/source/Plugins/Disassembler/llvm/
> DisassemblerLLVMC.cpp:87
> >
> > – “const bool can_branch = mc_disasm_ptr->CanBranch(inst);”), while
> >
> > trying to set the next breakpoint.
> >
> >
> >
> > On this case, the instruction is the “bne cr7,0x2000092c”, which is a
> > branch,
> >
> > but at llvm/lib/MC/MCInstrDesc.cpp:35 –
> >
> > “if (isBranch()...