[PATCH] D89809: [GWP-ASan] Rework utilities (NFC)
Kostya Kortchinsky via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 20 10:16:51 PDT 2020
cryptoad created this revision.
cryptoad added reviewers: hctim, eugenis, mcgrathr.
Herald added subscribers: Sanitizers, mgorny.
Herald added a project: Sanitizers.
cryptoad requested review of this revision.
Few changes wrt utilities:
- split `Check` into a platform agnostic condition test and a platform specific termination, for which we introduce the function `die`.
- add a platform agnostic `utilities.cpp` that gets the allocation alignment functions original in the platform specific file, as they are reusable by all platforms.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D89809
Files:
compiler-rt/lib/gwp_asan/CMakeLists.txt
compiler-rt/lib/gwp_asan/platform_specific/utilities_posix.cpp
compiler-rt/lib/gwp_asan/utilities.cpp
compiler-rt/lib/gwp_asan/utilities.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89809.299401.patch
Type: text/x-patch
Size: 5001 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201020/b6021664/attachment.bin>
More information about the llvm-commits
mailing list