HomePhabricator

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

Authored by lhames on Mar 3 2020, 2:18 PM.

Description

[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.

Details

Committed
lhamesMar 3 2020, 2:25 PM
Parents
rG736fef97c7ac: [clang-format] Do not format C# array subscript operators as attributes
Branches
Unknown
Tags
Unknown