[PATCH] D142668: [BOLT] Add isParentOf and isSiblingOf BinaryFunction methods
Rafael Auler via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 27 14:46:30 PST 2023
rafauler added inline comments.
================
Comment at: bolt/include/bolt/Core/BinaryFunction.h:1840
+ /// Returns if this function is a parent or child of \p Other function.
+ bool isSiblingOf(const BinaryFunction &Other) const {
+ return isChildOf(Other) || isParentOf(Other);
----------------
sibling?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142668/new/
https://reviews.llvm.org/D142668
More information about the llvm-commits
mailing list