[hwasan] formatting change, NFC
authorKostya Serebryany <kcc@google.com>
Wed, 29 Aug 2018 22:23:34 +0000 (22:23 +0000)
committerKostya Serebryany <kcc@google.com>
Wed, 29 Aug 2018 22:23:34 +0000 (22:23 +0000)
llvm-svn: 340980

compiler-rt/lib/hwasan/hwasan.cc
compiler-rt/lib/hwasan/hwasan_allocator.h
compiler-rt/lib/hwasan/hwasan_flags.h
compiler-rt/lib/hwasan/hwasan_interceptors.cc
compiler-rt/lib/hwasan/hwasan_interface_internal.h
compiler-rt/lib/hwasan/hwasan_poisoning.cc
compiler-rt/lib/hwasan/hwasan_poisoning.h
compiler-rt/lib/hwasan/hwasan_report.cc
compiler-rt/lib/hwasan/hwasan_thread.h

index 2128b7b..a6ad1f3 100644 (file)
@@ -120,7 +120,8 @@ static void InitializeFlags() {
 #if HWASAN_CONTAINS_UBSAN
   ubsan_parser.ParseString(GetEnv("UBSAN_OPTIONS"));
 #endif
-  VPrintf(1, "HWASAN_OPTIONS: %s\n", hwasan_options ? hwasan_options : "<empty>");
+  VPrintf(1, "HWASAN_OPTIONS: %s\n",
+          hwasan_options ? hwasan_options : "<empty>");
 
   InitializeCommonFlags();
 
index cc3ba1e..64cd75b 100644 (file)
@@ -1,4 +1,4 @@
-//===-- hwasan_allocator.h ----------------------------------------*- C++ -*-===//
+//===-- hwasan_allocator.h --------------------------------------*- C++ -*-===//
 //
 //                     The LLVM Compiler Infrastructure
 //
index 16d60c4..492d5bb 100644 (file)
@@ -1,4 +1,4 @@
-//===-- hwasan_flags.h --------------------------------------------*- C++ -*-===//
+//===-- hwasan_flags.h ------------------------------------------*- C++ -*-===//
 //
 //                     The LLVM Compiler Infrastructure
 //
index 679aed0..7d083a9 100644 (file)
@@ -1,4 +1,4 @@
-//===-- hwasan_interceptors.cc ----------------------------------------------===//
+//===-- hwasan_interceptors.cc --------------------------------------------===//
 //
 //                     The LLVM Compiler Infrastructure
 //
@@ -132,7 +132,8 @@ static void *AllocateFromLocalPool(uptr size_in_bytes) {
   extern "C" SANITIZER_INTERFACE_ATTRIBUTE RET __sanitizer_##FN(ARGS) \
       ALIAS(WRAPPER_NAME(FN));
 
-SANITIZER_ALIAS(int, posix_memalign, void **memptr, SIZE_T alignment, SIZE_T size);
+SANITIZER_ALIAS(int, posix_memalign, void **memptr, SIZE_T alignment,
+                SIZE_T size);
 SANITIZER_ALIAS(void *, memalign, SIZE_T alignment, SIZE_T size);
 SANITIZER_ALIAS(void *, aligned_alloc, SIZE_T alignment, SIZE_T size);
 SANITIZER_ALIAS(void *, __libc_memalign, SIZE_T alignment, SIZE_T size);
index 725b5e1..ddb0d2a 100644 (file)
@@ -1,4 +1,4 @@
-//===-- hwasan_interface_internal.h -------------------------------*- C++ -*-===//
+//===-- hwasan_interface_internal.h -----------------------------*- C++ -*-===//
 //
 //                     The LLVM Compiler Infrastructure
 //
index b99d8ed..656aecc 100644 (file)
@@ -1,4 +1,4 @@
-//===-- hwasan_poisoning.cc ---------------------------------------*- C++ -*-===//
+//===-- hwasan_poisoning.cc -------------------------------------*- C++ -*-===//
 //
 //                     The LLVM Compiler Infrastructure
 //
index b44a91f..0dbf9d8 100644 (file)
@@ -1,4 +1,4 @@
-//===-- hwasan_poisoning.h ----------------------------------------*- C++ -*-===//
+//===-- hwasan_poisoning.h --------------------------------------*- C++ -*-===//
 //
 //                     The LLVM Compiler Infrastructure
 //
index 5063300..de2dfb1 100644 (file)
@@ -191,7 +191,8 @@ void ReportTagMismatch(StackTrace *stack, uptr tagged_addr, uptr access_size,
   tag_t mem_tag = *tag_ptr;
   Printf("%s", d.Access());
   Printf("%s of size %zu at %p tags: %02x/%02x (ptr/mem)\n",
-         is_store ? "WRITE" : "READ", access_size, untagged_addr, ptr_tag, mem_tag);
+         is_store ? "WRITE" : "READ", access_size, untagged_addr, ptr_tag,
+         mem_tag);
   Printf("%s", d.Default());
 
   stack->Print();
index 4319398..d21151b 100644 (file)
@@ -1,4 +1,4 @@
-//===-- hwasan_thread.h -------------------------------------------*- C++ -*-===//
+//===-- hwasan_thread.h -----------------------------------------*- C++ -*-===//
 //
 //                     The LLVM Compiler Infrastructure
 //