diff options
author | Dmitry Vyukov <dvyukov@google.com> | 2023-01-20 10:26:20 +0100 |
---|---|---|
committer | Dmitry Vyukov <dvyukov@google.com> | 2023-01-20 16:22:37 +0100 |
commit | 9d4f1a9eff27716069dc6a2d991baa228c197b85 (patch) | |
tree | 5df7b70707798038a97661e570a5bac4cb931ba8 /clang/lib/Lex/ModuleMap.cpp | |
parent | 3cbc72ef63c48979cd7b0d811e9ee5a66a65244e (diff) | |
download | llvm-9d4f1a9eff27716069dc6a2d991baa228c197b85.zip llvm-9d4f1a9eff27716069dc6a2d991baa228c197b85.tar.gz llvm-9d4f1a9eff27716069dc6a2d991baa228c197b85.tar.bz2 |
sanmd: refine selection of functions for UAR checking
There are no intrinsic functions that leak arguments.
If the called function does not return, the current function
does not return as well, so no possibility of use-after-return.
Sanitizer function also don't leak or don't return.
It's safe to both pass pointers to local variables to them
and to tail-call them.
Reviewed By: melver
Differential Revision: https://reviews.llvm.org/D142190
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions