| 1 | //===-- rtsan_checks.inc ----------------------------------------*- C++ -*-===// |
| 2 | // |
| 3 | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
| 4 | // See https://llvm.org/LICENSE.txt for license information. |
| 5 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| 6 | // |
| 7 | //===----------------------------------------------------------------------===// |
| 8 | // |
| 9 | // List of suppression checks handled by RTSan runtime. |
| 10 | // |
| 11 | //===----------------------------------------------------------------------===// |
| 12 | #ifndef RTSAN_CHECK |
| 13 | #error "Define RTSAN_CHECK prior to including this file!" |
| 14 | #endif |
| 15 | |
| 16 | // RTSAN_CHECK(Name, SummaryKind) |
| 17 | // SummaryKind should be a string literal. |
| 18 | |
| 19 | RTSAN_CHECK(CallStackContains, "call-stack-contains" ) |
| 20 | RTSAN_CHECK(FunctionNameMatches, "function-name-matches" ) |
| 21 | |