[hwasan] formatting change, NFC

llvm-svn: 340980
This commit is contained in:
Kostya Serebryany 2018-08-29 22:23:34 +00:00
parent ab62b59a76
commit 5d26313ce0
9 changed files with 13 additions and 10 deletions

View 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();

View File

@ -1,4 +1,4 @@
//===-- hwasan_allocator.h ----------------------------------------*- C++ -*-===//
//===-- hwasan_allocator.h --------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//

View File

@ -1,4 +1,4 @@
//===-- hwasan_flags.h --------------------------------------------*- C++ -*-===//
//===-- hwasan_flags.h ------------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//

View 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);

View File

@ -1,4 +1,4 @@
//===-- hwasan_interface_internal.h -------------------------------*- C++ -*-===//
//===-- hwasan_interface_internal.h -----------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//

View File

@ -1,4 +1,4 @@
//===-- hwasan_poisoning.cc ---------------------------------------*- C++ -*-===//
//===-- hwasan_poisoning.cc -------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//

View File

@ -1,4 +1,4 @@
//===-- hwasan_poisoning.h ----------------------------------------*- C++ -*-===//
//===-- hwasan_poisoning.h --------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//

View 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();

View File

@ -1,4 +1,4 @@
//===-- hwasan_thread.h -------------------------------------------*- C++ -*-===//
//===-- hwasan_thread.h -----------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//