[Support][ORC] Add an explicit release operation to OwningMemoryBlock.
authorLang Hames <lhames@gmail.com>
Tue, 12 Oct 2021 16:48:29 +0000 (09:48 -0700)
committerLang Hames <lhames@gmail.com>
Tue, 12 Oct 2021 17:13:43 +0000 (10:13 -0700)
commitbbc2fc548b43806f2c2a2180b696127f7a680050
tree626b504ca236c394ff1e933d799dd075ebd52f40
parenta1d57f75d16d5567c211ff0e74718cc7604ab7d3
[Support][ORC] Add an explicit release operation to OwningMemoryBlock.

This gives OwningMemoryBlock clients a way to check for errors on release.

rdar://84127175
llvm/include/llvm/Support/Memory.h
llvm/unittests/ExecutionEngine/Orc/EPCGenericJITLinkMemoryManagerTest.cpp