[all-commits] [llvm/llvm-project] 27a79b: [JITLink] Add a MachO x86-64 GOT and Stub bypass o...

lhames via All-commits all-commits at lists.llvm.org
Sun Feb 23 23:38:45 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 27a79b721628ce0814cdc7b4d5267717bcc52421
      https://github.com/llvm/llvm-project/commit/27a79b721628ce0814cdc7b4d5267717bcc52421
  Author: Lang Hames <lhames at gmail.com>
  Date:   2020-02-23 (Sun, 23 Feb 2020)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/JITLink/JITLink.h
    M llvm/include/llvm/ExecutionEngine/JITLink/MachO_x86_64.h
    M llvm/lib/ExecutionEngine/JITLink/BasicGOTAndStubsBuilder.h
    M llvm/lib/ExecutionEngine/JITLink/JITLinkGeneric.cpp
    M llvm/lib/ExecutionEngine/JITLink/JITLinkGeneric.h
    M llvm/lib/ExecutionEngine/JITLink/MachO_x86_64.cpp
    A llvm/test/ExecutionEngine/JITLink/X86/Inputs/MachO_GOTAndStubsOptimizationHelper.s
    A llvm/test/ExecutionEngine/JITLink/X86/MachO_GOTAndStubsOptimization.s
    M llvm/test/ExecutionEngine/JITLink/X86/MachO_x86-64_relocations.s

  Log Message:
  -----------
  [JITLink] Add a MachO x86-64 GOT and Stub bypass optimization.

This optimization bypasses GOT loads and calls/branches through stubs when the
ultimate target of the access/branch is found to be within range of the
reference.

Extra debugging output is also added to the generic JITLink algorithm and
basic GOT and Stubs builder utility to aid debugging.




More information about the All-commits mailing list