MSAN build times out for generated DecisionForest inference runtime.
A solution worth trying is splitting the function into 300 smaller
functions and then re-enable msan.
For now we are disabling instrumentation for the generated function.
Differential Revision: https://reviews.llvm.org/D88495
return """#ifndef %s
#define %s
#include <cstdint>
+#include "llvm/Support/Compiler.h"
%s
class %s {
friend float Evaluate(const %s&);
};
+// The function may have large number of lines of code. MSAN
+// build times out in such case.
+LLVM_NO_SANITIZE("memory")
float Evaluate(const %s&);
%s
#endif // %s