[PATCH] D18690: [LSAN] Fix test swapcontext.cc on MIPS

Kostya Serebryany via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 14 13:09:15 PDT 2016


kcc added a comment.

Is a test (that works on Linux x86_64) possible here?


================
Comment at: lib/lsan/lsan.h:23
@@ -22,3 +22,3 @@
     ThreadContext *t;                                                          \
-    if (fast && (t = CurrentThreadContext())) {                                \
       stack_top = t->stack_end();                                              \
----------------
Why did you remove this check  (fast &&)?


Repository:
  rL LLVM

http://reviews.llvm.org/D18690





More information about the llvm-commits mailing list