[all-commits] [llvm/llvm-project] 7a4013: [ORC] Generalize loadRelocatableObject to loadLink...

Lang Hames via All-commits all-commits at lists.llvm.org
Tue Aug 27 22:17:47 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7a4013f029c4d360a9374ff49b5d17479fcb03df
      https://github.com/llvm/llvm-project/commit/7a4013f029c4d360a9374ff49b5d17479fcb03df
  Author: Lang Hames <lhames at gmail.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/JITLink/JITLinkMemoryManager.h
    A llvm/include/llvm/ExecutionEngine/Orc/LoadLinkableFile.h
    R llvm/include/llvm/ExecutionEngine/Orc/LoadRelocatableObject.h
    M llvm/include/llvm/ExecutionEngine/Orc/MachO.h
    M llvm/lib/ExecutionEngine/JITLink/JITLinkMemoryManager.cpp
    M llvm/lib/ExecutionEngine/Orc/CMakeLists.txt
    M llvm/lib/ExecutionEngine/Orc/ExecutionUtils.cpp
    A llvm/lib/ExecutionEngine/Orc/LoadLinkableFile.cpp
    R llvm/lib/ExecutionEngine/Orc/LoadRelocatableObject.cpp
    M llvm/lib/ExecutionEngine/Orc/MachO.cpp
    M llvm/tools/llvm-jitlink/llvm-jitlink.cpp

  Log Message:
  -----------
  [ORC] Generalize loadRelocatableObject to loadLinkableFile, add archive support.

This allows us to rewrite part of StaticLibraryDefinitionGenerator in terms of
loadLinkableFile.

It's also useful for clients who may not know (either from file extensions or
context) whether a given path will be an object file, an archive, or a
universal binary.

rdar://134638070



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