[all-commits] [llvm/llvm-project] d6a486: [ORC] Apply MachO::CPU_SUBTYPE_MASK to comparison ...

Lang Hames via All-commits all-commits at lists.llvm.org
Sat Jun 21 02:32:13 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d6a486c221c1a2d18e88ca39279bcf1675fe7723
      https://github.com/llvm/llvm-project/commit/d6a486c221c1a2d18e88ca39279bcf1675fe7723
  Author: Lang Hames <lhames at gmail.com>
  Date:   2025-06-21 (Sat, 21 Jun 2025)

  Changed paths:
    M llvm/lib/ExecutionEngine/Orc/GetDylibInterface.cpp
    A llvm/test/ExecutionEngine/JITLink/Generic/Inputs/MachO_Universal_libFoo_dylib.yaml
    A llvm/test/ExecutionEngine/JITLink/Generic/MachO_universal_binaries_weak_library.ll

  Log Message:
  -----------
  [ORC] Apply MachO::CPU_SUBTYPE_MASK to comparison in getDylibInterfac… (#145154)

…eFromDylib.

When comparing CPU subtypes from slices in a MachO universal binary we
need to apply the MachO::CPU_SUBTYPE_MASK to mask out any flags in the
high bits, otherwise we might fail to correctly match a slice and return
a spurious "does not contain slice" error.

rdar://153913779



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