[compiler-rt] [rtsan] Support basic call stack suppressions (PR #111608)
Chris Apple via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 8 17:01:54 PDT 2024
================
@@ -0,0 +1,19 @@
+//===-- rtsan_checks.inc ----------------------------------------*- C++ -*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+//
+// List of suppression checks handled by RTSan runtime.
+//
+//===----------------------------------------------------------------------===//
+#ifndef RTSAN_CHECK
+#error "Define RTSAN_CHECK prior to including this file!"
+#endif
+
+// RTSAN_CHECK(Name, SummaryKind)
+// SummaryKind should be a string literal.
+
+RTSAN_CHECK(InCallStack, "in-call-stack")
----------------
cjappl wrote:
Any feedback on this name? See it in use in this .supp below
https://github.com/llvm/llvm-project/pull/111608
More information about the llvm-commits
mailing list