[compiler-rt] r328681 - [asan] Add vfork to the list of reasons for stack errors.
Evgeniy Stepanov via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 27 17:45:21 PDT 2018
Author: eugenis
Date: Tue Mar 27 17:45:20 2018
New Revision: 328681
URL: http://llvm.org/viewvc/llvm-project?rev=328681&view=rev
Log:
[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.
Modified:
compiler-rt/trunk/lib/asan/asan_descriptions.cc
Modified: compiler-rt/trunk/lib/asan/asan_descriptions.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_descriptions.cc?rev=328681&r1=328680&r2=328681&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_descriptions.cc (original)
+++ compiler-rt/trunk/lib/asan/asan_descriptions.cc Tue Mar 27 17:45:20 2018
@@ -402,7 +402,7 @@ void StackAddressDescription::Print() co
}
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
More information about the llvm-commits
mailing list