[all-commits] [llvm/llvm-project] 7034ec: [ORC] Remove EDU from dependants list of dependenc...
Lang Hames via All-commits
all-commits at lists.llvm.org
Mon Sep 9 20:50:48 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7034ec491251e598d2867199f89fefa3eb16a1a0
https://github.com/llvm/llvm-project/commit/7034ec491251e598d2867199f89fefa3eb16a1a0
Author: Lang Hames <lhames at gmail.com>
Date: 2024-09-10 (Tue, 10 Sep 2024)
Changed paths:
M llvm/lib/ExecutionEngine/Orc/Core.cpp
Log Message:
-----------
[ORC] Remove EDU from dependants list of dependencies before destroying.
Dependant lists hold raw pointers back to EDUs that depend on them. We need to
remove these entries before destroying the EDU or we'll be left with a dangling
reference that can result in use-after-free bugs.
No testcase: This has only been observed in multi-threaded setups that
reproduce the issue inconsistently.
rdar://135403614
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