Commit 63ff75cf authored by Paul Gofman's avatar Paul Gofman Committed by Alexandre Julliard

diasymreader: Force debug info in critical sections.

parent 8d933bf1
...@@ -602,7 +602,7 @@ HRESULT SymWriter_CreateInstance(REFIID iid, void **ppv) ...@@ -602,7 +602,7 @@ HRESULT SymWriter_CreateInstance(REFIID iid, void **ppv)
This->iface.lpVtbl = &SymWriter_Vtbl; This->iface.lpVtbl = &SymWriter_Vtbl;
This->IPdbWriter_iface.lpVtbl = &SymWriter_PdbWriter_Vtbl; This->IPdbWriter_iface.lpVtbl = &SymWriter_PdbWriter_Vtbl;
This->ref = 1; This->ref = 1;
InitializeCriticalSection(&This->lock); InitializeCriticalSectionEx(&This->lock, 0, RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO);
This->lock.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": SymWriter.lock"); This->lock.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": SymWriter.lock");
UuidCreate(&This->pdb_guid); UuidCreate(&This->pdb_guid);
This->pdb_age = 1; This->pdb_age = 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment