[asan] nuke yet another async-signal-safety bug in UAR (oh, my)

llvm-svn: 191080
This commit is contained in:
Kostya Serebryany 2013-09-20 09:16:21 +00:00
parent 5403eaecc0
commit 2ab5a48dbe
2 changed files with 1 additions and 1 deletions

View File

@ -77,6 +77,7 @@ class FakeStack {
}
void Destroy() {
PoisonAll(0);
UnmapOrDie(this, RequiredSize(stack_size_log_));
}

View File

@ -77,7 +77,6 @@ class AsanThread {
void DeleteFakeStack() {
if (!fake_stack_) return;
fake_stack_->PoisonAll(0);
FakeStack *t = fake_stack_;
fake_stack_ = 0;
SetTLSFakeStack(0);