commit | bac1f66b620854da534710b67b3baa235fcdfdd5 | [log] [tgz] |
---|---|---|
author | Kostya Kortchinsky <kostyak@google.com> | Tue Oct 20 11:15:52 2020 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Oct 29 11:47:38 2020 -0700 |
tree | f432a7089082355a6ce27d7def6c0e1216ddf615 | |
parent | b2b29ff375e9fa41b3c3ca7aad094e730f43ee87 [diff] |
[GWP-ASan] Rework utilities (NFC) 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. Differential Revision: https://reviews.llvm.org/D89811 GitOrigin-RevId: be8e4de7240eb0f7dc2f7fd6d07898184c04c72b