summaryrefslogtreecommitdiff
path: root/lib/sanitizer_common/sanitizer_libc.cc
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2013-05-29 09:15:39 +0000
committerAlexey Samsonov <samsonov@google.com>2013-05-29 09:15:39 +0000
commit1f3c2fee395abc36230c445e9ebdba55c4729d35 (patch)
tree55d68895e3408521804d7db626a62e4376a7c9d9 /lib/sanitizer_common/sanitizer_libc.cc
parent9d1525ec52430d0b8ffd6d0893b7f5529105b321 (diff)
Make InternalAlloc/InternalFree in sanitizer runtimes libc-free by switching to a custom allocator.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182836 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_libc.cc')
-rw-r--r--lib/sanitizer_common/sanitizer_libc.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sanitizer_common/sanitizer_libc.cc b/lib/sanitizer_common/sanitizer_libc.cc
index 20c03c447..f875f1fdc 100644
--- a/lib/sanitizer_common/sanitizer_libc.cc
+++ b/lib/sanitizer_common/sanitizer_libc.cc
@@ -10,6 +10,7 @@
// This file is shared between AddressSanitizer and ThreadSanitizer
// run-time libraries. See sanitizer_libc.h for details.
//===----------------------------------------------------------------------===//
+#include "sanitizer_allocator_internal.h"
#include "sanitizer_common.h"
#include "sanitizer_libc.h"