[PATCH] D107030: [llvm-objdump][CallGraphInfo] Extract and print call site info

Necip Fazil Yildiran via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 28 21:50:57 PDT 2021


necipfazil created this revision.
Herald added subscribers: rupprecht, emaste.
Herald added a reviewer: jhenderson.
Herald added a reviewer: MaskRay.
necipfazil requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Collect the call site information through disassembly and print per function.
For direct calls, include the target address.

Patch 3/6: Extract call graph information from binary

Original RFC: https://lists.llvm.org/pipermail/llvm-dev/2021-June/151044.html
Updated RFC: https://lists.llvm.org/pipermail/llvm-dev/2021-July/151739.html


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D107030

Files:
  llvm/test/tools/llvm-objdump/ELF/call-graph-info-callsites.test
  llvm/test/tools/llvm-objdump/ELF/call-graph-info.test
  llvm/tools/llvm-objdump/llvm-objdump.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107030.362627.patch
Type: text/x-patch
Size: 6500 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210729/fb859b52/attachment.bin>


More information about the llvm-commits mailing list