[all-commits] [llvm/llvm-project] 424626: [examples][ORC] Add missing call to LLVMDisposeBui...
lhames via All-commits
all-commits at lists.llvm.org
Fri Aug 5 13:52:19 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 424626953e89ec555501320ce06513aebf8e6aec
https://github.com/llvm/llvm-project/commit/424626953e89ec555501320ce06513aebf8e6aec
Author: Lang Hames <lhames at gmail.com>
Date: 2022-08-05 (Fri, 05 Aug 2022)
Changed paths:
M llvm/examples/OrcV2Examples/OrcV2CBindingsIRTransforms/OrcV2CBindingsIRTransforms.c
Log Message:
-----------
[examples][ORC] Add missing call to LLVMDisposeBuilder to example.
The missing call was pointed out in https://llvm.org/PR56953, though it's not
the focus of that issue.
Commit: bc062e034fbdb5674fc26d354ef5b4c236aab640
https://github.com/llvm/llvm-project/commit/bc062e034fbdb5674fc26d354ef5b4c236aab640
Author: Lang Hames <lhames at gmail.com>
Date: 2022-08-05 (Fri, 05 Aug 2022)
Changed paths:
M llvm/lib/ExecutionEngine/Orc/OrcV2CBindings.cpp
Log Message:
-----------
[ORC] Fix a memory leak in LLVMOrcIRTransformLayerSetTransform.
This function heap-allocates a ThreadSafeModule (the current C bindings assume
that TSMs are always heap-allocated), but was failing to free it.
Should fix http://llvm.org/PR56953.
Compare: https://github.com/llvm/llvm-project/compare/51bc82d147f8...bc062e034fbd
More information about the All-commits
mailing list