From c65d0a0770bdcd60ecf579d7506b62b200e6386e Mon Sep 17 00:00:00 2001 From: Paul Gofman Date: Thu, 15 Feb 2024 15:02:43 -0600 Subject: [PATCH] vcomp: Force debug info in critical sections. --- dlls/vcomp/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/vcomp/main.c b/dlls/vcomp/main.c index 63ec0502b9b..91afea33112 100644 --- a/dlls/vcomp/main.c +++ b/dlls/vcomp/main.c @@ -1712,7 +1712,7 @@ static CRITICAL_SECTION *alloc_critsect(void) ExitProcess(1); } - InitializeCriticalSection(critsect); + InitializeCriticalSectionEx(critsect, 0, RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO); critsect->DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": critsect"); return critsect; }