[all-commits] [llvm/llvm-project] 486738: [ORC] Deallocate FinalizedAllocs on error paths in...
Lang Hames via All-commits
all-commits at lists.llvm.org
Thu Mar 7 14:41:55 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 48673825f47cbac9cd7c61299ca8d01579314ae0
https://github.com/llvm/llvm-project/commit/48673825f47cbac9cd7c61299ca8d01579314ae0
Author: Lang Hames <lhames at gmail.com>
Date: 2024-03-07 (Thu, 07 Mar 2024)
Changed paths:
M llvm/lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp
Log Message:
-----------
[ORC] Deallocate FinalizedAllocs on error paths in notifyEmitted.
If notifyEmitted encounters a failure (either because some plugin returned one,
or because the ResourceTracker was defunct) then we need to deallocate the
FinalizedAlloc manually.
No testcase yet: This requires a concurrent setup -- we'll need to build some
infrastructure to coordinate links and deliberately injected failures in order
to reliably test this.
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