[PATCH] D105917: [llvm-objdump][CallGraphSection] Extract call graph information from binary
Necip Fazil Yildiran via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 21 15:34:04 PDT 2021
necipfazil marked 6 inline comments as done.
necipfazil added inline comments.
================
Comment at: llvm/tools/llvm-objdump/llvm-objdump.cpp:1471
+ // operand is an indirect call. Otherwise, it is a direct call
+ // with exactly one immediate operand.
+ bool HasRegOperand = false;
----------------
morehouse wrote:
> Is `MIA->isIndirectBranch() && MIA->isCall()` sufficient to detect an indirect call?
`MIA->isIndirectBranch()` evaluates to `false` for any call instruction.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D105917/new/
https://reviews.llvm.org/D105917
More information about the llvm-commits
mailing list