[PATCH] D46981: [asan] Restore check removed by r332033
Walter Lee via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 16 16:27:48 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rCRT332553: [asan] Restore check removed by r332033 (authored by waltl, committed by ).
Herald added a subscriber: Sanitizers.
Changed prior to commit:
https://reviews.llvm.org/D46981?vs=147199&id=147213#toc
Repository:
rCRT Compiler Runtime
https://reviews.llvm.org/D46981
Files:
lib/asan/asan_thread.h
Index: lib/asan/asan_thread.h
===================================================================
--- lib/asan/asan_thread.h
+++ lib/asan/asan_thread.h
@@ -117,6 +117,8 @@
return nullptr;
if (atomic_load(&stack_switching_, memory_order_relaxed))
return nullptr;
+ if (!has_fake_stack())
+ return AsyncSignalSafeLazyInitFakeStack();
return fake_stack_;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46981.147213.patch
Type: text/x-patch
Size: 391 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180516/c587664f/attachment.bin>
More information about the llvm-commits
mailing list