[all-commits] [llvm/llvm-project] ab244b: [ORC] Specialize MachOBuilder support for the LC_I...

Ben Langmuir via All-commits all-commits at lists.llvm.org
Thu Jan 18 09:14:34 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ab244b64dfa6a35458693d4dea6223ff3fe7f7a9
      https://github.com/llvm/llvm-project/commit/ab244b64dfa6a35458693d4dea6223ff3fe7f7a9
  Author: Lang Hames <lhames at gmail.com>
  Date:   2024-01-18 (Thu, 18 Jan 2024)

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

  Log Message:
  -----------
  [ORC] Specialize MachOBuilder support for the LC_ID_DYLIB command.

Provides a natural API for adding LC_ID_DYLIB commands, including the arbitrary
install name.


  Commit: b08aca7a4fb9520db116e1cc9620f9eb7ce57764
      https://github.com/llvm/llvm-project/commit/b08aca7a4fb9520db116e1cc9620f9eb7ce57764
  Author: Ben Langmuir <blangmuir at apple.com>
  Date:   2024-01-18 (Thu, 18 Jan 2024)

  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][MachO] Support common load commands in the platform's mach-o header builder

Add a HeaderOptions struct that can be used to configure commonly-used
load commands LC_ID_DYLIB, LC_LOAD_DYLIB, and LC_RPATH when setupDylib
creates a mach-o header.


Compare: https://github.com/llvm/llvm-project/compare/b06bc7c6a00c...b08aca7a4fb9


More information about the All-commits mailing list