diff options
author | Justin King <jcking@google.com> | 2025-07-22 15:47:23 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-22 15:47:23 -0700 |
commit | 681c2ee4dfbf10b3ef74afd1a2c72f844771e602 (patch) | |
tree | 7ed52793ea5d3d37202d0f636fa3866d618af5db /llvm/lib/CodeGen/StackProtector.cpp | |
parent | 10812eb7c9e9822078a109a98132b829c771c1a8 (diff) | |
download | llvm-681c2ee4dfbf10b3ef74afd1a2c72f844771e602.zip llvm-681c2ee4dfbf10b3ef74afd1a2c72f844771e602.tar.gz llvm-681c2ee4dfbf10b3ef74afd1a2c72f844771e602.tar.bz2 |
asan: refactor interceptor allocation/deallocation functions (#145087)
Do some refactoring to allocation/deallocation interceptors. Expose
explicit per-alloc_type functions and stop accepting explicit AllocType.
This ensures we do not accidentally mix.
NOTE: This change rejects attempts to call `operator new(<some_size>,
static_cast<std::align_val_t>(0))`.
For https://github.com/llvm/llvm-project/issues/144435
Signed-off-by: Justin King <jcking@google.com>
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions