[compiler-rt] [llvm] [nsan] Emit calls to optimized functions (PR #98900)

Alexander Shaposhnikov via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 17 23:00:09 PDT 2024


================
@@ -493,6 +493,67 @@ class ValueToShadowMap {
   DenseMap<Value *, Value *> Map;
 };
 
+class NsanMemOpFn {
+public:
+  NsanMemOpFn(Module &M, ArrayRef<StringRef> Sized, StringRef Fallback,
+              size_t NumArgs);
+  // Number of parameters can be extracted from FunctionCallee
----------------
alexander-shaposhnikov wrote:

nit: this comment can be dropped.

https://github.com/llvm/llvm-project/pull/98900


More information about the llvm-commits mailing list