[all-commits] [llvm/llvm-project] 29f230: [BOLT][NFC] Simplify addRelocation

Amir Ayupov via All-commits all-commits at lists.llvm.org
Wed Aug 17 16:07:42 PDT 2022


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

  Changed paths:
    M bolt/include/bolt/Core/BinarySection.h
    M bolt/lib/Core/BinarySection.cpp

  Log Message:
  -----------
  [BOLT][NFC] Simplify addRelocation

Move the implementation out of the header file.
Simplify the method.
Add debug logging.

Reviewed By: rafauler

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




More information about the All-commits mailing list