From 29e6fd6785004441e61722227c121464a0bcdaae Mon Sep 17 00:00:00 2001 From: Evgeniy Stepanov Date: Wed, 28 Mar 2018 00:45:20 +0000 Subject: [PATCH] [asan] Add vfork to the list of reasons for stack errors. Until we figure out what to do with it, vfork can cause stack-based false positives. llvm-svn: 328681 --- compiler-rt/lib/asan/asan_descriptions.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/lib/asan/asan_descriptions.cc b/compiler-rt/lib/asan/asan_descriptions.cc index 86c6af7..e7d5d66 100644 --- a/compiler-rt/lib/asan/asan_descriptions.cc +++ b/compiler-rt/lib/asan/asan_descriptions.cc @@ -402,7 +402,7 @@ void StackAddressDescription::Print() const { } Printf( "HINT: this may be a false positive if your program uses " - "some custom stack unwind mechanism or swapcontext\n"); + "some custom stack unwind mechanism, swapcontext or vfork\n"); if (SANITIZER_WINDOWS) Printf(" (longjmp, SEH and C++ exceptions *are* supported)\n"); else -- 2.7.4