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

Sagar Thakur via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 17 23:05:44 PDT 2016


sagar added a comment.

Hi,

The test swapconext.cc fails only for MIPS64 and this patch is intended to fix the test swapcontext.cc only for Linux/MIPS64. This patch is not intended to fix any test/bug on Linux x86_64. The test swapcontext.cc was failing only on MIPS64 because for unwinding, MIPS uses the slow unwinder. And given an invalid frame (as given in test swapcontext.cc) the slow unwinder does not detect the invalid frame and continues to unwind even though the frame is invalid which results in a false positive report.

I have tested this patch on Linux x86_64 also. It does not cause any regressions.


Repository:
  rL LLVM

http://reviews.llvm.org/D18690





More information about the llvm-commits mailing list