[all-commits] [llvm/llvm-project] f14cb4: [ORC] Add "wrap" and "unwrap" steps to ExecutorAdd...

lhames via All-commits all-commits at lists.llvm.org
Fri Aug 26 12:33:03 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f14cb494a34db6df9853d713c6027a476f030dbf
      https://github.com/llvm/llvm-project/commit/f14cb494a34db6df9853d713c6027a476f030dbf
  Author: Lang Hames <lhames at gmail.com>
  Date:   2022-08-26 (Fri, 26 Aug 2022)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/Orc/Shared/ExecutorAddress.h
    M llvm/unittests/ExecutionEngine/Orc/ExecutorAddressTest.cpp

  Log Message:
  -----------
  [ORC] Add "wrap" and "unwrap" steps to ExecutorAddr toPtr/fromPtr.

The wrap/unwrap operations are applied to pointers after/before conversion to/from
raw addresses. They can be used to tag, untag, sign, or strip signing from
pointers. They currently default to 'rawPtr' (identity) on all platforms, but it
is expected that the default will be set based on the host architecture, e.g.
they would default to signing/stripping for arm64e.




More information about the All-commits mailing list