aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunctionPass.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2025-01-24 02:45:45 +0000
committerLang Hames <lhames@gmail.com>2025-01-24 03:43:08 +0000
commita001cc0e6cdcfa672b8aff9ce6d14782bb96356a (patch)
tree813f9ac0f32bc4a4237ac818156f65d5b14e3d65 /llvm/lib/CodeGen/MachineFunctionPass.cpp
parent9fecb4f9071740f6c1e665940583e9dceae2beb5 (diff)
downloadllvm-a001cc0e6cdcfa672b8aff9ce6d14782bb96356a.zip
llvm-a001cc0e6cdcfa672b8aff9ce6d14782bb96356a.tar.gz
llvm-a001cc0e6cdcfa672b8aff9ce6d14782bb96356a.tar.bz2
[ORC] Destroy defunct MaterializationUnits outside the session lock.
MaterializationUnits may contain arbitrary resources that need cleanup. We want to do this outside the JIT's session lock. This should fix a lock-order-inversion warning in clang-repl (for details see https://github.com/llvm/llvm-project/issues/124215).
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunctionPass.cpp')
0 files changed, 0 insertions, 0 deletions