[compiler-rt] [llvm] [nsan] Emit calls to optimized functions (PR #98900)
Dmitriy Chestnykh via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 16 23:33:19 PDT 2024
================
@@ -598,7 +654,14 @@ static GlobalValue *createThreadLocalGV(const char *Name, Module &M, Type *Ty) {
}
NumericalStabilitySanitizer::NumericalStabilitySanitizer(Module &M)
- : DL(M.getDataLayout()), Context(M.getContext()), Config(Context) {
+ : DL(M.getDataLayout()), Context(M.getContext()), Config(Context),
+ NsanCopyFns(M, {"__nsan_copy_4", "__nsan_copy_8", "__nsan_copy_16"},
+ "__nsan_copy_values", 3),
+ NsanSetUnknownFns(M,
+ {"__nsan_set_value_unknown_4",
----------------
chestnykh wrote:
this command tells me that there are no modified files and the style is correct
https://github.com/llvm/llvm-project/pull/98900
More information about the llvm-commits
mailing list