[compiler-rt] r190662 - [asan] undo the previous commit since TLS hack breaks with signals... :(

Kostya Serebryany kcc at google.com
Thu Sep 12 23:15:02 PDT 2013


Author: kcc
Date: Fri Sep 13 01:15:02 2013
New Revision: 190662

URL: http://llvm.org/viewvc/llvm-project?rev=190662&view=rev
Log:
[asan] undo the previous commit since TLS hack breaks with signals... :(

Modified:
    compiler-rt/trunk/lib/asan/asan_fake_stack.cc

Modified: compiler-rt/trunk/lib/asan/asan_fake_stack.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_fake_stack.cc?rev=190662&r1=190661&r2=190662&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_fake_stack.cc (original)
+++ compiler-rt/trunk/lib/asan/asan_fake_stack.cc Fri Sep 13 01:15:02 2013
@@ -129,7 +129,7 @@ static FakeStack *GetFakeStack() {
 }
 
 static FakeStack *GetFakeStackFast() {
-#if SANITIZER_LINUX
+#if 0 && SANITIZER_LINUX  // breaks with signals...
   static THREADLOCAL FakeStack *fake_stack;
   if (!fake_stack)
     fake_stack = GetFakeStack();





More information about the llvm-commits mailing list