[llvm-branch-commits] [llvm] [BOLT] Ignore returns in DataAggregator (PR #90807)
Maksim Panchenko via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed May 8 10:57:59 PDT 2024
================
@@ -1167,6 +1167,21 @@ void BinaryFunction::handleAArch64IndirectCall(MCInst &Instruction,
}
}
+std::optional<MCInst>
+BinaryFunction::disassembleInstructionAtOffset(uint64_t Offset) const {
+ assert(CurrentState == State::Empty);
+ assert(Offset < MaxSize && "invalid offset");
+ ErrorOr<ArrayRef<unsigned char>> FunctionData = getData();
+ assert(FunctionData && "cannot get function as data");
----------------
maksfb wrote:
nit: ditto.
https://github.com/llvm/llvm-project/pull/90807
More information about the llvm-branch-commits
mailing list