[compiler-rt] [rtsan] Introduce function-name-is suppression (PR #112108)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 16 07:19:53 PDT 2024
================
@@ -17,3 +17,4 @@
// SummaryKind should be a string literal.
RTSAN_CHECK(CallStackContains, "call-stack-contains")
+RTSAN_CHECK(FunctionNameIs, "function-name-is")
----------------
davidtrevelyan wrote:
I like `function-name-is` if the intention is only to allow users to provide an exact function name match, character for character. But I think that would be difficult to use - how is the user supposed to reason about namespaces, mangling, parentheses on the end, overloads, etc.? I think at the minute I prefer `function-name-matches` with regex supported.
https://github.com/llvm/llvm-project/pull/112108
More information about the llvm-commits
mailing list