[llvm-commits] [compiler-rt] r150381 - /compiler-rt/trunk/lib/asan/tests/asan_test.cc
Evgeniy Stepanov
eugeni.stepanov at gmail.com
Mon Feb 13 04:36:45 PST 2012
Author: eugenis
Date: Mon Feb 13 06:36:44 2012
New Revision: 150381
URL: http://llvm.org/viewvc/llvm-project?rev=150381&view=rev
Log:
[asan] Add a missing return.
It is technically reachable on Android, where pthread_exit is not
marked noreturn.
Modified:
compiler-rt/trunk/lib/asan/tests/asan_test.cc
Modified: compiler-rt/trunk/lib/asan/tests/asan_test.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/tests/asan_test.cc?rev=150381&r1=150380&r2=150381&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/tests/asan_test.cc (original)
+++ compiler-rt/trunk/lib/asan/tests/asan_test.cc Mon Feb 13 06:36:44 2012
@@ -1643,6 +1643,7 @@
static void *PthreadExit(void *a) {
pthread_exit(0);
+ return 0;
}
TEST(AddressSanitizer, PthreadExitTest) {
More information about the llvm-commits
mailing list