aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm-project/compiler-rt/lib/asan/asan_activation.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm-project/compiler-rt/lib/asan/asan_activation.h')
-rw-r--r--contrib/llvm-project/compiler-rt/lib/asan/asan_activation.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/contrib/llvm-project/compiler-rt/lib/asan/asan_activation.h b/contrib/llvm-project/compiler-rt/lib/asan/asan_activation.h
new file mode 100644
index 000000000000..93c290c2ae2f
--- /dev/null
+++ b/contrib/llvm-project/compiler-rt/lib/asan/asan_activation.h
@@ -0,0 +1,22 @@
+//===-- asan_activation.h ---------------------------------------*- 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
+//
+//===----------------------------------------------------------------------===//
+//
+// This file is a part of AddressSanitizer, an address sanity checker.
+//
+// ASan activation/deactivation logic.
+//===----------------------------------------------------------------------===//
+
+#ifndef ASAN_ACTIVATION_H
+#define ASAN_ACTIVATION_H
+
+namespace __asan {
+void AsanDeactivate();
+void AsanActivate();
+} // namespace __asan
+
+#endif // ASAN_ACTIVATION_H