[all-commits] [llvm/llvm-project] ea9826: [ORC-RT] Avoid switching out-of-band error value i...

lhames via All-commits all-commits at lists.llvm.org
Tue Oct 19 19:53:31 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ea9826ff77195c12dfba698d5fcb90786c949aa2
      https://github.com/llvm/llvm-project/commit/ea9826ff77195c12dfba698d5fcb90786c949aa2
  Author: Lang Hames <lhames at gmail.com>
  Date:   2021-10-19 (Tue, 19 Oct 2021)

  Changed paths:
    M compiler-rt/lib/orc/wrapper_function_utils.h

  Log Message:
  -----------
  [ORC-RT] Avoid switching out-of-band error value into __orc_rt::Error and back.

WrapperFunctionResult can already convey serialization errors as out-of-band
error values, so there's no need to wrap it in an Expected here. Removing the
wrapper simplifies the plumbing and call sites.


  Commit: 21369d4b9d9233d0b58ea82b649435745d8dde70
      https://github.com/llvm/llvm-project/commit/21369d4b9d9233d0b58ea82b649435745d8dde70
  Author: Lang Hames <lhames at gmail.com>
  Date:   2021-10-19 (Tue, 19 Oct 2021)

  Changed paths:
    M compiler-rt/lib/orc/wrapper_function_utils.h

  Log Message:
  -----------
  [ORC-RT] Use function pointer type (rather than reference) for traits class.

Aligns this template with the corresponding one in LLVM.


  Commit: b574c52db5335c7e68e5b77dfc40e954fe344d9a
      https://github.com/llvm/llvm-project/commit/b574c52db5335c7e68e5b77dfc40e954fe344d9a
  Author: Lang Hames <lhames at gmail.com>
  Date:   2021-10-19 (Tue, 19 Oct 2021)

  Changed paths:
    M compiler-rt/lib/orc/unittests/wrapper_function_utils_test.cpp
    M compiler-rt/lib/orc/wrapper_function_utils.h

  Log Message:
  -----------
  [ORC-RT] Add MethodWrapperHandler utility for WrapperFunction.

This is an ORC runtime counterpart to a01f772d19d, which introduced the same
functionality into LLVM.


Compare: https://github.com/llvm/llvm-project/compare/2542bfa43a97...b574c52db533


More information about the All-commits mailing list