[all-commits] [llvm/llvm-project] 14ac84: [JITLink] Add a -slab-address option to llvm-jitlink.

lhames via All-commits all-commits at lists.llvm.org
Tue Mar 3 14:31:49 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 14ac84e5c56e115d57eef01373f1f97267b38ef8
      https://github.com/llvm/llvm-project/commit/14ac84e5c56e115d57eef01373f1f97267b38ef8
  Author: Lang Hames <lhames at gmail.com>
  Date:   2020-03-03 (Tue, 03 Mar 2020)

  Changed paths:
    M llvm/test/ExecutionEngine/JITLink/X86/MachO_x86-64_relocations.s
    M llvm/tools/llvm-jitlink/llvm-jitlink.cpp

  Log Message:
  -----------
  [JITLink] Add a -slab-address option to llvm-jitlink.

This option can be used to for JITLink to link as-if the target memory slab were
allocated at a specific start address. This can be used to both verify that
cross-address space linking is working correctly, and to ensure that certain
address-sensitive optimizations (e.g. GOT and stub elimination) either do or do
not fire, depending on the requirements of the test case.

This argument is only valid for testing in conjunction with -noexec -slab-alloc,
and will produce an error if used without those arguments.




More information about the All-commits mailing list