[all-commits] [llvm/llvm-project] 074c2c: [BOLT] Refactor MCInst target symbol lookup. NFCI ...

Maksim Panchenko via All-commits all-commits at lists.llvm.org
Fri Feb 28 17:58:16 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 074c2c6713277c087e1c3b9938cefff012d3840c
      https://github.com/llvm/llvm-project/commit/074c2c6713277c087e1c3b9938cefff012d3840c
  Author: Maksim Panchenko <maks at fb.com>
  Date:   2025-02-28 (Fri, 28 Feb 2025)

  Changed paths:
    M bolt/lib/Core/BinaryFunction.cpp

  Log Message:
  -----------
  [BOLT] Refactor MCInst target symbol lookup. NFCI (#129131)

In analyzeInstructionForFuncReference(), use MCPlusBuilder interface
while scanning symbolic operands of MCInst. Should be NFC on x86, but
will make the function work on other architectures. Note that it's
currently unused on non-x86 as its functionality is exclusive to safe
ICF that runs on x86 only.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list