From ca9211ecdede9bdedb812b2243a4abdb8dacd1b9 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Wed, 7 Jan 2015 19:55:37 +0000 Subject: Import compiler-rt trunk r224034. https://llvm.org/svn/llvm-project/compiler-rt/trunk@224034 --- .../sanitizer_persistent_allocator.cc | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 lib/sanitizer_common/sanitizer_persistent_allocator.cc (limited to 'lib/sanitizer_common/sanitizer_persistent_allocator.cc') diff --git a/lib/sanitizer_common/sanitizer_persistent_allocator.cc b/lib/sanitizer_common/sanitizer_persistent_allocator.cc new file mode 100644 index 000000000000..5fa533a70861 --- /dev/null +++ b/lib/sanitizer_common/sanitizer_persistent_allocator.cc @@ -0,0 +1,19 @@ +//===-- sanitizer_persistent_allocator.cc -----------------------*- 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 shared between AddressSanitizer and ThreadSanitizer +// run-time libraries. +//===----------------------------------------------------------------------===// +#include "sanitizer_persistent_allocator.h" + +namespace __sanitizer { + +PersistentAllocator thePersistentAllocator; + +} // namespace __sanitizer -- cgit v1.2.3