1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00

Add a comment.

llvm-svn: 244337
This commit is contained in:
Nico Weber 2015-08-07 17:32:06 +00:00
parent 0fb3af3648
commit 198bc9060d

View File

@ -24,6 +24,10 @@ static ManagedStatic<
sys::ThreadLocal<const CrashRecoveryContextImpl> > CurrentContext;
struct CrashRecoveryContextImpl {
// When threads are disabled, this links up all active
// CrashRecoveryContextImpls. When threads are enabled there's one thread
// per CrashRecoveryContext and CurrentContext is a thread-local, so only one
// CrashRecoveryContextImpl is active per thread and this is always null.
const CrashRecoveryContextImpl *Next;
CrashRecoveryContext *CRC;