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

Alexander Shaposhnikov via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 16 12:52:13 PDT 2024


================
@@ -493,6 +494,103 @@ class ValueToShadowMap {
   DenseMap<Value *, Value *> Map;
 };
 
+// Base class for handling some details of __nsan_* functions
+class NsanInstrumentationFunction {
----------------
alexander-shaposhnikov wrote:

The classes share the interface, but they are not used polymorphically, so the base class doesn't do much  / I'd simplify things by removing it.

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


More information about the llvm-commits mailing list