summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2013-06-19 22:53:45 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2013-06-19 22:53:45 +0000
commitf1d8f52a3633d5bce52f510bfee62caf7de18719 (patch)
treefd813a63de64c1b57f5bf27a11fe3c0af54d03da /clang/lib/CodeGen/CodeGenModule.cpp
parent49605cdaf0e8ff8f4399d5fd51e3a211717438a1 (diff)
downloadbcm5719-llvm-f1d8f52a3633d5bce52f510bfee62caf7de18719.tar.gz
bcm5719-llvm-f1d8f52a3633d5bce52f510bfee62caf7de18719.zip
[Support/CrashRecoveryContext] Make sure CrashRecoveryContext does not clear the thread-local "CurrentContext"
in the "parent" thread, when we are using CrashRecoveryContext::RunSafelyOnThread. When using CrashRecoveryContext::RunSafelyOnThread, we would set a CrashRecoveryContextImpl* to a thread-local variable for the "child" thread, but CrashRecoveryContext would erroneously clear it in the "parent" thread. The result was that if CrashRecoveryContext::RunSafelyOnThread was called again in the "child" thread it would mess up crash-recovery for its parent. A test for this will be added in the clang repository. rdar://14204560 llvm-svn: 184380
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud