[PATCH] D69537: [asan] Provide interface to iterate over all Fake stack regions

Kostya Serebryany via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 30 16:12:41 PST 2019


kcc added a comment.

How is this going to work when one thread calls __sanitizer_for_each_extra_stack_range with another thread's ID, 
while that other thread creates and discards frames, or while that other thread is being destroyed?

Also, we already have an API used by some implementations of GC.
__asan_get_current_fake_stack & co
Is it not sufficient? Why?

Finally, please explain why you need this. I am reluctant to add functionality that I don't understand the need for.

thanks!


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69537/new/

https://reviews.llvm.org/D69537





More information about the llvm-commits mailing list