[compiler-rt] e7de267 - [compiler-rt] [hwasan] Replace INLINE with inline

Kamil Rytarowski via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 17 07:47:40 PDT 2020


Author: Kamil Rytarowski
Date: 2020-09-17T16:46:32+02:00
New Revision: e7de267910e935ab885dae22b5191bfb118ca5f9

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

LOG: [compiler-rt] [hwasan] Replace INLINE with inline

Fixes the build after landing D87562.

Added: 
    

Modified: 
    compiler-rt/lib/hwasan/hwasan_malloc_bisect.h

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/hwasan/hwasan_malloc_bisect.h b/compiler-rt/lib/hwasan/hwasan_malloc_bisect.h
index eaf124aab7dd..7d134e8c4b7f 100644
--- a/compiler-rt/lib/hwasan/hwasan_malloc_bisect.h
+++ b/compiler-rt/lib/hwasan/hwasan_malloc_bisect.h
@@ -28,7 +28,7 @@ static u32 malloc_hash(StackTrace *stack, uptr orig_size) {
   return H.get();
 }
 
-static INLINE bool malloc_bisect(StackTrace *stack, uptr orig_size) {
+static inline bool malloc_bisect(StackTrace *stack, uptr orig_size) {
   uptr left = flags()->malloc_bisect_left;
   uptr right = flags()->malloc_bisect_right;
   if (LIKELY(left == 0 && right == 0))


        


More information about the llvm-commits mailing list