[PATCH] D89721: [GWP-ASan] Cleanup (NFC)

Kostya Kortchinsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 19 11:55:10 PDT 2020


cryptoad created this revision.
cryptoad added reviewers: eugenis, hctim, mcgrathr.
Herald added a project: Sanitizers.
Herald added a subscriber: Sanitizers.
cryptoad requested review of this revision.

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`)


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D89721

Files:
  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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89721.299122.patch
Type: text/x-patch
Size: 6369 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201019/6235b3d0/attachment.bin>


More information about the llvm-commits mailing list