[all-commits] [llvm/llvm-project] edda85: [BOLT][NFC] Move addRelocation{X86, AArch64} into M...

Amir Ayupov via All-commits all-commits at lists.llvm.org
Tue Mar 14 17:34:44 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: edda85771a5cbcc99920908774a93199677f659f
      https://github.com/llvm/llvm-project/commit/edda85771a5cbcc99920908774a93199677f659f
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2023-03-14 (Tue, 14 Mar 2023)

  Changed paths:
    M bolt/include/bolt/Core/BinaryFunction.h
    M bolt/include/bolt/Core/MCPlusBuilder.h
    M bolt/lib/Core/BinaryFunction.cpp
    M bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp
    M bolt/lib/Target/X86/X86MCPlusBuilder.cpp

  Log Message:
  -----------
  [BOLT][NFC] Move addRelocation{X86,AArch64} into MCPlusBuilder

The two methods don't belong in BinaryFunction methods.
Move the dispatch tables into target-specific MCPlusBuilder methods.

Reviewed By: rafauler

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




More information about the All-commits mailing list