summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJinsong Ji <jji@us.ibm.com>2019-09-22 15:31:03 +0000
committerJinsong Ji <jji@us.ibm.com>2019-09-22 15:31:03 +0000
commit2f240f447422b9f657f5449eb18f54ec1ed3fec1 (patch)
tree16d9f436e33fc47dc86fcf191ba99aa8540c70a4
parent16dfa3fc2f2ac2a3ec23e61a448c8595397ffbaf (diff)
downloadcompiler-rt-2f240f447422b9f657f5449eb18f54ec1ed3fec1.tar.gz
[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. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@372511 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/asan/asan_interceptors.cpp3
-rw-r--r--lib/lsan/lsan_interceptors.cpp3
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/asan/asan_interceptors.cpp b/lib/asan/asan_interceptors.cpp
index e43a42736..b19cf25c7 100644
--- a/lib/asan/asan_interceptors.cpp
+++ b/lib/asan/asan_interceptors.cpp
@@ -612,7 +612,8 @@ INTERCEPTOR(int, pthread_atfork, void (*prepare)(), void (*parent)(),
#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
diff --git a/lib/lsan/lsan_interceptors.cpp b/lib/lsan/lsan_interceptors.cpp
index 601a5efe9..f642bb807 100644
--- a/lib/lsan/lsan_interceptors.cpp
+++ b/lib/lsan/lsan_interceptors.cpp
@@ -375,7 +375,8 @@ extern int _pthread_atfork(void (*prepare)(), void (*parent)(),
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)