diff options
author | Dmitry Chestnykh <dm.chestnykh@gmail.com> | 2024-07-24 11:20:36 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-24 11:20:36 +0300 |
commit | ddf5725ef180692b60962ae56e352a7af6fc5919 (patch) | |
tree | 0ffdf6b4681920c31fdda6d34cedd5590c65280b /llvm/lib/CodeGen | |
parent | 3993a47bb58f7b6da9940d084e62e54a821e81fc (diff) | |
download | llvm-ddf5725ef180692b60962ae56e352a7af6fc5919.zip llvm-ddf5725ef180692b60962ae56e352a7af6fc5919.tar.gz llvm-ddf5725ef180692b60962ae56e352a7af6fc5919.tar.bz2 |
[nsan] Emit calls to optimized functions (#98900)
As previously noted in nsan.cpp we can implement
optimized variants of `__nsan_copy_values` and
`__nsan_set_value_unknown` if a memory operation
size is known.
Now the instrumentation creates calls to optimized functions if there is
4, 8 or 16-byte memory operation like
`memset(X, value, 4/8/16)` or `memcpy(dst, src, 4/8/16)`
nsan.cpp provides definitions of the optimized functions.
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions