[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 11:08:10 PDT 2024
    
    
  
================
@@ -634,10 +637,27 @@ NumericalStabilitySanitizer::NumericalStabilitySanitizer(Module &M)
         Attr, VoidTy, VTTy, VTTy, ShadowTy, ShadowTy, Int32Ty, Int1Ty, Int1Ty);
   }
 
-  NsanCopyValues = M.getOrInsertFunction("__nsan_copy_values", Attr, VoidTy,
-                                         PtrTy, PtrTy, IntptrTy);
-  NsanSetValueUnknown = M.getOrInsertFunction("__nsan_set_value_unknown", Attr,
-                                              VoidTy, PtrTy, IntptrTy);
+  NsanCopyFunction[0] =
----------------
chestnykh wrote:
Got it
https://github.com/llvm/llvm-project/pull/98900
    
    
More information about the llvm-commits
mailing list