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

Dmitry Vyukov via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 27 00:55:46 PDT 2016


dvyukov added a comment.

LGTM

Any other comments? Or I will submit it tomorrow.


================
Comment at: test/asan/TestCases/Linux/swapcontext_annotation.cc:7
@@ +6,3 @@
+// RUN: %clangxx_asan -std=c++11 -lpthread -O3 %s -o %t && %run %t 2>&1 | FileCheck %s
+// RUN: %clangxx_asan -std=c++11 -lpthread -O0 %s -o %t && %run %t 2>&1 | FileCheck <( seq 60 | xargs -i -- grep LOOPCHECK %s ) --check-prefix LOOPCHECK
+// RUN: %clangxx_asan -std=c++11 -lpthread -O1 %s -o %t && %run %t 2>&1 | FileCheck <( seq 60 | xargs -i -- grep LOOPCHECK %s ) --check-prefix LOOPCHECK
----------------
nice


https://reviews.llvm.org/D24628





More information about the cfe-commits mailing list