summaryrefslogtreecommitdiff
path: root/lib/asan/asan_activation.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/asan/asan_activation.h')
-rw-r--r--lib/asan/asan_activation.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/lib/asan/asan_activation.h b/lib/asan/asan_activation.h
new file mode 100644
index 0000000000000..dafb840a6042e
--- /dev/null
+++ b/lib/asan/asan_activation.h
@@ -0,0 +1,23 @@
+//===-- asan_activation.h ---------------------------------------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// 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 AsanStartDeactivated();
+void AsanActivate();
+} // namespace __asan
+
+#endif // ASAN_ACTIVATION_H