projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
115a932
)
CrashRecovery: Use ThreadLocal::erase() instead of set(0).
author
Daniel Dunbar
<daniel@zuster.org>
Thu, 29 Jul 2010 15:24:21 +0000
(15:24 +0000)
committer
Daniel Dunbar
<daniel@zuster.org>
Thu, 29 Jul 2010 15:24:21 +0000
(15:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109752
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Support/CrashRecoveryContext.cpp
patch
|
blob
|
history
diff --git
a/lib/Support/CrashRecoveryContext.cpp
b/lib/Support/CrashRecoveryContext.cpp
index 1213484f8c1d14d4756adac55e4f16797b1f6ebc..4514a9948d4cc978a704475a8c602e3cdb5c4e49 100644
(file)
--- a/
lib/Support/CrashRecoveryContext.cpp
+++ b/
lib/Support/CrashRecoveryContext.cpp
@@
-31,7
+31,7
@@
public:
CurrentContext.set(this);
}
~CrashRecoveryContextImpl() {
- CurrentContext.
set(0
);
+ CurrentContext.
erase(
);
}
void HandleCrash() {