Index: runtime/szrt_asan.c |
diff --git a/runtime/szrt_asan.c b/runtime/szrt_asan.c |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f89f04b19996ba832c52ab3d88ed8b3e9fda7583 |
--- /dev/null |
+++ b/runtime/szrt_asan.c |
@@ -0,0 +1,24 @@ |
+//===- subzero/runtime/szrt_asan.c - AddressSanitizer Runtime -----*- C -*-===// |
+// |
+// The Subzero Code Generator |
+// |
+// This file is distributed under the University of Illinois Open Source |
+// License. See LICENSE.TXT for details. |
+// |
+//===----------------------------------------------------------------------===// |
+/// |
+/// \file |
+/// \brief Provides the AddressSanitizer runtime. |
+/// |
+/// Exposes functions for initializing the shadow memory region and managing it |
+/// on loads, stores, and allocations. |
+/// |
+//===----------------------------------------------------------------------===// |
+ |
+#include <stdio.h> |
+ |
+// TODO(tlively): Define and implement this library |
+void __asan_init(void) { |
+ printf("Set up shadow memory here\n"); |
+ return; |
+} |