[compiler-rt] [llvm] [nsan] Emit calls to optimized functions (PR #98900)
Dmitriy Chestnykh via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 17 21:06:21 PDT 2024
================
@@ -493,6 +493,59 @@ class ValueToShadowMap {
DenseMap<Value *, Value *> Map;
};
+// Template parameter is the number of functions
+template <size_t N> class NsanMemOpFn {
----------------
chestnykh wrote:
Yes, good idea. Template parameter is not really needed anymore here
https://github.com/llvm/llvm-project/pull/98900
More information about the llvm-commits
mailing list