[all-commits] [llvm/llvm-project] 7581f1: [ORC][examples] Add missing EPCIndirectionUtils::c...

lhames via All-commits all-commits at lists.llvm.org
Fri May 20 20:26:58 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7581f138d54a117a3119a80001f4e0467d7d7b0c
      https://github.com/llvm/llvm-project/commit/7581f138d54a117a3119a80001f4e0467d7d7b0c
  Author: Lang Hames <lhames at gmail.com>
  Date:   2022-05-20 (Fri, 20 May 2022)

  Changed paths:
    M llvm/examples/OrcV2Examples/LLJITWithExecutorProcessControl/LLJITWithExecutorProcessControl.cpp

  Log Message:
  -----------
  [ORC][examples] Add missing EPCIndirectionUtils::cleanup call.

Clients are required to make this call prior to destroying the object. Adding
the missing call fixes an assertion that was triggering at program termination
time in the LLJITWithExecutorProcessControl example.


  Commit: 55287840fe3f0d175ca649f0b665ccc0c184eb5d
      https://github.com/llvm/llvm-project/commit/55287840fe3f0d175ca649f0b665ccc0c184eb5d
  Author: Lang Hames <lhames at gmail.com>
  Date:   2022-05-20 (Fri, 20 May 2022)

  Changed paths:
    M llvm/examples/OrcV2Examples/OrcV2CBindingsLazy/OrcV2CBindingsLazy.c

  Log Message:
  -----------
  [ORC][examples] Fix off-by-one error when handling null terminators.

LLVMCreateMemoryBufferWithMemoryRange checks for a null terminator after the
given range, so we need to pass the length of the module string (excluding the
null terminator).


Compare: https://github.com/llvm/llvm-project/compare/441f691b3748...55287840fe3f


More information about the All-commits mailing list