================
@@ -190,7 +193,11 @@ bool InstrumentorImpl::shouldInstrumentTarget() {
bool InstrumentorImpl::shouldInstrumentFunction(Function &Fn) {
if (Fn.isDeclaration())
return false;
- return !Fn.getName().starts_with(IConf.getRTName()) ||
+ bool RegexMatches = true;
+ const auto FunctionRegexStr = IConf.FunctionRegex->getString();
----------------
arsenm wrote:
No auto, I have no idea which string type this is
https://github.com/llvm/llvm-project/pull/196234
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits