[compiler-rt] r190594 - [asan] (part 2) don't lazy-init fake_stack if we only need to check that fake_stack exists (should fix 32-bit builds)
Kostya Serebryany
kcc at google.com
Thu Sep 12 01:47:00 PDT 2013
Author: kcc
Date: Thu Sep 12 03:47:00 2013
New Revision: 190594
URL: http://llvm.org/viewvc/llvm-project?rev=190594&view=rev
Log:
[asan] (part 2) don't lazy-init fake_stack if we only need to check that fake_stack exists (should fix 32-bit builds)
Modified:
compiler-rt/trunk/lib/asan/asan_thread.cc
Modified: compiler-rt/trunk/lib/asan/asan_thread.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_thread.cc?rev=190594&r1=190593&r2=190594&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_thread.cc (original)
+++ compiler-rt/trunk/lib/asan/asan_thread.cc Thu Sep 12 03:47:00 2013
@@ -226,7 +226,7 @@ static bool ThreadStackContainsAddress(T
AsanThread *t = tctx->thread;
if (!t) return false;
if (t->AddrIsInStack((uptr)addr)) return true;
- if (t->fake_stack() && t->fake_stack()->AddrIsInFakeStack((uptr)addr))
+ if (t->has_fake_stack() && t->fake_stack()->AddrIsInFakeStack((uptr)addr))
return true;
return false;
}
More information about the llvm-commits
mailing list