[all-commits] [llvm/llvm-project] 21cf7b: BPFMCCodeEmitter: Set PCRel at fixup creation

Fangrui Song via All-commits all-commits at lists.llvm.org
Fri Jul 4 17:53:06 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 21cf7bd4ec511a676fcfc07eb33688e93235edcd
      https://github.com/llvm/llvm-project/commit/21cf7bd4ec511a676fcfc07eb33688e93235edcd
  Author: Fangrui Song <i at maskray.me>
  Date:   2025-07-04 (Fri, 04 Jul 2025)

  Changed paths:
    M llvm/lib/Target/BPF/MCTargetDesc/BPFAsmBackend.cpp
    M llvm/lib/Target/BPF/MCTargetDesc/BPFMCCodeEmitter.cpp

  Log Message:
  -----------
  BPFMCCodeEmitter: Set PCRel at fixup creation

Avoid reliance on the MCAssembler::evaluateFixup workaround that checks
MCFixupKindInfo::FKF_IsPCRel. Additionally, standardize how fixups are
appended. This helper will facilitate future fixup data structure
optimizations.



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