[all-commits] [llvm/llvm-project] 70d013: [BOLT][NFC] Split out handleRelocation

Amir Ayupov via All-commits all-commits at lists.llvm.org
Wed Aug 17 20:44:14 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 70d0134f1d32a50fa89cd240713eb17af0183a1a
      https://github.com/llvm/llvm-project/commit/70d0134f1d32a50fa89cd240713eb17af0183a1a
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2022-08-17 (Wed, 17 Aug 2022)

  Changed paths:
    M bolt/include/bolt/Rewrite/RewriteInstance.h
    M bolt/lib/Rewrite/RewriteInstance.cpp

  Log Message:
  -----------
  [BOLT][NFC] Split out handleRelocation

Split out the body of a for-loop in `RewriteInstance::readRelocations` into a
separate function (`handleRelocation`). It's still over 300 lines of code,
so it's worth splitting down further.

Reviewed By: rafauler

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




More information about the All-commits mailing list