Skip to content
Commit 50af8d46 authored by Aaron Ballman's avatar Aaron Ballman
Browse files

Sometimes report_fatal_error is called when there is not a handler function...

Sometimes report_fatal_error is called when there is not a handler function used to fail gracefully. In that case, RunInterruptHandlers is called, which attempts to enter a critical section object. Ensure that the critical section is properly initialized so that this code functions properly, and tools like clang-tidy do not crash in Debug builds.

llvm-svn: 233282
parent 27b4ed09
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment