summaryrefslogtreecommitdiffstats
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
commite2af0e5ee830693fee0ddf609885508df1e06f45 (patch)
tree0f637e3bc1b86c5f680c99e710b6c8e8f089a185
parenteb8d39e11315e689c2ce17b6fc8bcc717a544478 (diff)
downloadbcm5719-llvm-e2af0e5ee830693fee0ddf609885508df1e06f45.tar.gz
bcm5719-llvm-e2af0e5ee830693fee0ddf609885508df1e06f45.zip
[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. llvm-svn: 372511
-rw-r--r--compiler-rt/lib/asan/asan_interceptors.cpp3
-rw-r--r--compiler-rt/lib/lsan/lsan_interceptors.cpp3
2 files changed, 4 insertions, 2 deletions
diff --git a/compiler-rt/lib/asan/asan_interceptors.cpp b/compiler-rt/lib/asan/asan_interceptors.cpp
index e43a4273612..b19cf25c7cd 100644
--- a/compiler-rt/lib/asan/asan_interceptors.cpp
+++ b/compiler-rt/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/compiler-rt/lib/lsan/lsan_interceptors.cpp b/compiler-rt/lib/lsan/lsan_interceptors.cpp
index 601a5efe9bd..f642bb807bc 100644
--- a/compiler-rt/lib/lsan/lsan_interceptors.cpp
+++ b/compiler-rt/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)
OpenPOWER on IntegriCloud