[compiler-rt] r372511 - [compiler-rt] Fix lint check failure on comments
Jinsong Ji via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 22 08:31:04 PDT 2019
Author: jsji
Date: Sun Sep 22 08:31:03 2019
New Revision: 372511
URL: http://llvm.org/viewvc/llvm-project?rev=372511&view=rev
Log:
[compiler-rt] Fix lint check failure on comments
This fixes buildbot failures for https://reviews.llvm.org/rL372459.
(at least on PowerPC/Z )
The fix is generated by running clang-format on the error lines only.
Modified:
compiler-rt/trunk/lib/asan/asan_interceptors.cpp
compiler-rt/trunk/lib/lsan/lsan_interceptors.cpp
Modified: compiler-rt/trunk/lib/asan/asan_interceptors.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_interceptors.cpp?rev=372511&r1=372510&r2=372511&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_interceptors.cpp (original)
+++ compiler-rt/trunk/lib/asan/asan_interceptors.cpp Sun Sep 22 08:31:03 2019
@@ -612,7 +612,8 @@ INTERCEPTOR(int, pthread_atfork, void (*
#if CAN_SANITIZE_LEAKS
__lsan::ScopedInterceptorDisabler disabler;
#endif
- // REAL(pthread_atfork) cannot be called due to symbol indirections at least on NetBSD
+ // REAL(pthread_atfork) cannot be called due to symbol indirections at least
+ // on NetBSD
return _pthread_atfork(prepare, parent, child);
}
#endif
Modified: compiler-rt/trunk/lib/lsan/lsan_interceptors.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/lsan/lsan_interceptors.cpp?rev=372511&r1=372510&r2=372511&view=diff
==============================================================================
--- compiler-rt/trunk/lib/lsan/lsan_interceptors.cpp (original)
+++ compiler-rt/trunk/lib/lsan/lsan_interceptors.cpp Sun Sep 22 08:31:03 2019
@@ -375,7 +375,8 @@ extern int _pthread_atfork(void (*prepar
INTERCEPTOR(int, pthread_atfork, void (*prepare)(), void (*parent)(),
void (*child)()) {
__lsan::ScopedInterceptorDisabler disabler;
- // REAL(pthread_atfork) cannot be called due to symbol indirections at least on NetBSD
+ // REAL(pthread_atfork) cannot be called due to symbol indirections at least
+ // on NetBSD
return _pthread_atfork(prepare, parent, child);
}
#define LSAN_MAYBE_INTERCEPT_PTHREAD_ATFORK INTERCEPT_FUNCTION(pthread_atfork)
More information about the llvm-commits
mailing list