[PATCH] D24628: [ASAN] Pass previous stack information through __sanitizer_finish_switch_fiber

Dmitry Vyukov via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 16 12:11:38 PDT 2016


dvyukov added a comment.

We need a test that passes non-NULL to these arguments and shows how to use the returned values.


================
Comment at: test/asan/TestCases/Linux/swapcontext_annotation.cc:47
@@ -46,3 +46,3 @@
   CallNoReturn();
-  __sanitizer_finish_switch_fiber();
+  __sanitizer_finish_switch_fiber(NULL, NULL, NULL);
 
----------------
#include <stddef.h> for NULL


https://reviews.llvm.org/D24628





More information about the cfe-commits mailing list