[all-commits] [llvm/llvm-project] 12c790: [ORC] De-duplicate some logic for handling MachO::...

Lang Hames via All-commits all-commits at lists.llvm.org
Wed Feb 26 19:08:05 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 12c7908f67924809025c6bf669881c90322dbd57
      https://github.com/llvm/llvm-project/commit/12c7908f67924809025c6bf669881c90322dbd57
  Author: Lang Hames <lhames at gmail.com>
  Date:   2025-02-27 (Thu, 27 Feb 2025)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/Orc/MachOBuilder.h

  Log Message:
  -----------
  [ORC] De-duplicate some logic for handling MachO::dylib-based load commands.

All such commands share a common struct layout, and we'll be introducing
another soon (LC_LOAD_WEAK_DYLIB). To avoid redundant specializations this
commit moves the logic for these commands into a common base class.


  Commit: 2e6d9af7e2f68ee72bf6de91c0ca2a9f9b1fc514
      https://github.com/llvm/llvm-project/commit/2e6d9af7e2f68ee72bf6de91c0ca2a9f9b1fc514
  Author: Lang Hames <lhames at gmail.com>
  Date:   2025-02-27 (Thu, 27 Feb 2025)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/Orc/MachOBuilder.h
    M llvm/include/llvm/ExecutionEngine/Orc/MachOPlatform.h
    M llvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp

  Log Message:
  -----------
  [ORC] Support adding LC_LOAD_WEAK_DYLIB commands to MachO JITDylib headers.

MachOPlatform synthesizes Mach headers for JITDylibs (see ef314d39b92). This
commit adds support for adding LC_LOAD_WEAK_DYLIB commands to these synthesized
headers (LC_LOAD_DYLIB was already supported previously).


  Commit: 20cea4d410df8f92a8dc639c1747c238e1e3e65b
      https://github.com/llvm/llvm-project/commit/20cea4d410df8f92a8dc639c1747c238e1e3e65b
  Author: Lang Hames <lhames at gmail.com>
  Date:   2025-02-27 (Thu, 27 Feb 2025)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/Orc/GetDylibInterface.h
    M llvm/lib/ExecutionEngine/Orc/GetDylibInterface.cpp

  Log Message:
  -----------
  [ORC] Sink include into implementation file.

TapiUniversal.h is only needed as an implementation detail.


Compare: https://github.com/llvm/llvm-project/compare/a2fac3f87be5...20cea4d410df

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