Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / compiler-rt / lib / msan / msan_report.h
blob2ad81c37cf60a66086c6255bf64a21d7fdb25433
1 //===-- msan_report.h -------------------------------------------*- 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 /// \file
10 /// This file is a part of MemorySanitizer. MSan-private header for error
11 /// reporting functions.
12 ///
13 //===----------------------------------------------------------------------===//
15 #ifndef MSAN_REPORT_H
16 #define MSAN_REPORT_H
18 #include "sanitizer_common/sanitizer_internal_defs.h"
19 #include "sanitizer_common/sanitizer_stacktrace.h"
21 namespace __msan {
23 void ReportUMR(StackTrace *stack, u32 origin);
24 void ReportExpectedUMRNotFound(StackTrace *stack);
25 void ReportStats();
26 void ReportAtExitStatistics();
27 void DescribeMemoryRange(const void *x, uptr size);
28 void ReportUMRInsideAddressRange(const char *function, const void *start,
29 uptr size, uptr offset);
31 } // namespace __msan
33 #endif // MSAN_REPORT_H