[all-commits] [llvm/llvm-project] 715e0f: [orc-rt] Add transparent SPS conversion for error/...

Lang Hames via All-commits all-commits at lists.llvm.org
Thu Oct 2 20:26:43 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 715e0fab00fc7c6cbbbf84c1309f36dc9c613553
      https://github.com/llvm/llvm-project/commit/715e0fab00fc7c6cbbbf84c1309f36dc9c613553
  Author: Lang Hames <lhames at gmail.com>
  Date:   2025-10-03 (Fri, 03 Oct 2025)

  Changed paths:
    M orc-rt/include/orc-rt/SPSWrapperFunction.h
    M orc-rt/include/orc-rt/WrapperFunction.h
    M orc-rt/unittests/SPSWrapperFunctionTest.cpp

  Log Message:
  -----------
  [orc-rt] Add transparent SPS conversion for error/expected types. (#161768)

This commit aims to reduce boilerplate by adding transparent conversion
between Error/Expected types and their SPS-serializable counterparts
(SPSSerializableError/SPSSerializableExpected). This allows
SPSWrapperFunction calls and handles to be written in terms of
Error/Expected directly.

This functionality can also be extended to transparently convert between
other types. This may be used in the future to provide conversion
between ExecutorAddr and native pointer types.



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