diff options
author | Thurston Dang <thurston@google.com> | 2025-02-05 16:24:36 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-05 16:24:36 -0800 |
commit | c09e51ae97795bac9284e345d02532cd2d0bc1e3 (patch) | |
tree | 701ec6cff87c81f355f3e3e974f8f1d96579c0f3 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | e335ca7b8440a61445db7f80efde794f91a28d57 (diff) | |
download | llvm-c09e51ae97795bac9284e345d02532cd2d0bc1e3.zip llvm-c09e51ae97795bac9284e345d02532cd2d0bc1e3.tar.gz llvm-c09e51ae97795bac9284e345d02532cd2d0bc1e3.tar.bz2 |
[msan][NFCI] Add arg_size() assertions (#125907)
This prevents the handlers from being called with blatantly inappropriate intrinsics.
Currently, if the handlers are called with an intrinsic that doesn't have enough arguments, it may abort; that is bad, but visible. The more insidious risk is that a handler is called with an intrinsic that has more arguments than expected; that will not visibly fail.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions