[GWP-ASan] Cleanup (NFC)
authorKostya Kortchinsky <kostyak@google.com>
Mon, 19 Oct 2020 18:54:43 +0000 (11:54 -0700)
committerKostya Kortchinsky <kostyak@google.com>
Tue, 20 Oct 2020 01:13:11 +0000 (18:13 -0700)
commitae9d0400283229032fb3795b7b50920bf9be38dc
treeb13cfad4aadd20517e659056b31aac2ea1234d24
parentb03ae74319f19c3b86982638671d00205a91d263
[GWP-ASan] Cleanup (NFC)

Cleaning up some of the GWP-ASan code base:
- lots of headers didn't have the correct file name
- adding `#ifdef` guard to `utilities.h`
- correcting an `#ifdef` guard based on actual file name
- removing an extra `;`
- clang-format'ing the code (`-style=llvm`)

Differential Revision: https://reviews.llvm.org/D89721
compiler-rt/lib/gwp_asan/crash_handler.cpp
compiler-rt/lib/gwp_asan/crash_handler.h
compiler-rt/lib/gwp_asan/definitions.h
compiler-rt/lib/gwp_asan/guarded_pool_allocator.h
compiler-rt/lib/gwp_asan/optional/segv_handler.h
compiler-rt/lib/gwp_asan/optional/segv_handler_posix.cpp
compiler-rt/lib/gwp_asan/platform_specific/common_posix.cpp
compiler-rt/lib/gwp_asan/platform_specific/utilities_posix.cpp
compiler-rt/lib/gwp_asan/random.cpp
compiler-rt/lib/gwp_asan/utilities.h