[compiler-rt] c9b625d - [Sanitizers] Ensure clock_getcpuclockid interceptor <= 80 chars

Gui Andrade via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 13 16:18:31 PDT 2020


Author: Gui Andrade
Date: 2020-07-13T23:18:10Z
New Revision: c9b625d09aeccd70bc564dfd4f00002d0156bcc2

URL: https://github.com/llvm/llvm-project/commit/c9b625d09aeccd70bc564dfd4f00002d0156bcc2
DIFF: https://github.com/llvm/llvm-project/commit/c9b625d09aeccd70bc564dfd4f00002d0156bcc2.diff

LOG: [Sanitizers] Ensure clock_getcpuclockid interceptor <= 80 chars

Added: 
    

Modified: 
    compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc b/compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
index 4b02ad2670fe..d7e0bba76294 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
@@ -2200,7 +2200,8 @@ INTERCEPTOR(int, clock_settime, u32 clk_id, const void *tp) {
 #endif
 
 #if SANITIZER_INTERCEPT_CLOCK_GETCPUCLOCKID
-INTERCEPTOR(int, clock_getcpuclockid, pid_t pid, __sanitizer_clockid_t *clockid) {
+INTERCEPTOR(int, clock_getcpuclockid, pid_t pid,
+            __sanitizer_clockid_t *clockid) {
   void *ctx;
   COMMON_INTERCEPTOR_ENTER(ctx, clock_getcpuclockid, pid, clockid);
   int res = REAL(clock_getcpuclockid)(pid, clockid);


        


More information about the llvm-commits mailing list