[all-commits] [llvm/llvm-project] 068e98: [BOLT] Add isParentOf and isParentOrChildOf BF checks

Amir Ayupov via All-commits all-commits at lists.llvm.org
Fri May 19 17:52:07 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 068e9889b1ba0856af10d8ba2e21d41d81554533
      https://github.com/llvm/llvm-project/commit/068e9889b1ba0856af10d8ba2e21d41d81554533
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2023-05-19 (Fri, 19 May 2023)

  Changed paths:
    M bolt/include/bolt/Core/BinaryFunction.h
    M bolt/lib/Core/BinaryContext.cpp
    M bolt/lib/Core/Exceptions.cpp

  Log Message:
  -----------
  [BOLT] Add isParentOf and isParentOrChildOf BF checks

Add helper methods and simplify cases where we want to check if two functions
are parent-child of each other (function-fragment relationship).

Reviewed By: #bolt, rafauler

Differential Revision: https://reviews.llvm.org/D142668




More information about the All-commits mailing list