[Lldb-commits] [lldb] [lldb] Use Policy for ProcessRunLock re-entrancy (PR #195774)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Fri May 8 11:02:24 PDT 2026


================
@@ -8,6 +8,7 @@
 
 #ifndef _WIN32
 #include "lldb/Host/ProcessRunLock.h"
+#include "lldb/Target/Policy.h"
----------------
JDevlieghere wrote:

This is a layering violation. `lldbHost` can only depend on `lldbUtility`. If we need it here, we need to move Policy to `Utility` and it cannot use anything from Target/Core, which is (still) the care currently. 

https://github.com/llvm/llvm-project/pull/195774


More information about the lldb-commits mailing list