[Sanitizer] rename sanitizer_defs.h to sanitizer_internal_defs.h
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158001 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/asan/asan_internal.h b/lib/asan/asan_internal.h
index c242c97..a4578a6 100644
--- a/lib/asan/asan_internal.h
+++ b/lib/asan/asan_internal.h
@@ -14,7 +14,7 @@
#ifndef ASAN_INTERNAL_H
#define ASAN_INTERNAL_H
-#include "sanitizer_common/sanitizer_defs.h"
+#include "sanitizer_common/sanitizer_internal_defs.h"
#include "sanitizer_common/sanitizer_libc.h"
#if !defined(__linux__) && !defined(__APPLE__) && !defined(_WIN32)
diff --git a/lib/sanitizer_common/sanitizer_defs.h b/lib/sanitizer_common/sanitizer_internal_defs.h
similarity index 96%
rename from lib/sanitizer_common/sanitizer_defs.h
rename to lib/sanitizer_common/sanitizer_internal_defs.h
index ac22021..ed6ef63 100644
--- a/lib/sanitizer_common/sanitizer_defs.h
+++ b/lib/sanitizer_common/sanitizer_internal_defs.h
@@ -1,4 +1,4 @@
-//===-- sanitizer_defs.h ----------------------------------------*- C++ -*-===//
+//===-- sanitizer_internal_defs.h -------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
diff --git a/lib/sanitizer_common/sanitizer_libc.cc b/lib/sanitizer_common/sanitizer_libc.cc
index e213b52..fe91c98 100644
--- a/lib/sanitizer_common/sanitizer_libc.cc
+++ b/lib/sanitizer_common/sanitizer_libc.cc
@@ -10,7 +10,7 @@
// This file is shared between AddressSanitizer and ThreadSanitizer
// run-time libraries. See sanitizer_libc.h for details.
//===----------------------------------------------------------------------===//
-#include "sanitizer_defs.h"
+#include "sanitizer_internal_defs.h"
#include "sanitizer_libc.h"
namespace __sanitizer {
diff --git a/lib/sanitizer_common/sanitizer_libc.h b/lib/sanitizer_common/sanitizer_libc.h
index 9391e96..5b42df9 100644
--- a/lib/sanitizer_common/sanitizer_libc.h
+++ b/lib/sanitizer_common/sanitizer_libc.h
@@ -18,7 +18,7 @@
#ifndef SANITIZER_LIBC_H
#define SANITIZER_LIBC_H
-#include "sanitizer_defs.h"
+#include "sanitizer_internal_defs.h"
// No code here yet. Will move more code in the next changes.
namespace __sanitizer {
diff --git a/lib/sanitizer_common/sanitizer_linux.cc b/lib/sanitizer_common/sanitizer_linux.cc
index 153c0ca..26270c3 100644
--- a/lib/sanitizer_common/sanitizer_linux.cc
+++ b/lib/sanitizer_common/sanitizer_linux.cc
@@ -13,7 +13,7 @@
//===----------------------------------------------------------------------===//
#ifdef __linux__
-#include "sanitizer_defs.h"
+#include "sanitizer_internal_defs.h"
#include "sanitizer_libc.h"
#include <fcntl.h>
diff --git a/lib/sanitizer_common/sanitizer_mac.cc b/lib/sanitizer_common/sanitizer_mac.cc
index 80ecad2..6e2c8c1 100644
--- a/lib/sanitizer_common/sanitizer_mac.cc
+++ b/lib/sanitizer_common/sanitizer_mac.cc
@@ -14,7 +14,7 @@
#ifdef __APPLE__
-#include "sanitizer_defs.h"
+#include "sanitizer_internal_defs.h"
#include "sanitizer_libc.h"
#include <sys/mman.h>
diff --git a/lib/sanitizer_common/sanitizer_posix.cc b/lib/sanitizer_common/sanitizer_posix.cc
index ac3d1ec..ca5c6fc 100644
--- a/lib/sanitizer_common/sanitizer_posix.cc
+++ b/lib/sanitizer_common/sanitizer_posix.cc
@@ -13,7 +13,7 @@
//===----------------------------------------------------------------------===//
#if defined(__linux__) || defined(__APPLE__)
-#include "sanitizer_defs.h"
+#include "sanitizer_internal_defs.h"
#include "sanitizer_libc.h"
#include <stdarg.h>
diff --git a/lib/sanitizer_common/sanitizer_symbolizer.h b/lib/sanitizer_common/sanitizer_symbolizer.h
index f487091..17b3f6a 100644
--- a/lib/sanitizer_common/sanitizer_symbolizer.h
+++ b/lib/sanitizer_common/sanitizer_symbolizer.h
@@ -24,7 +24,7 @@
#ifndef SANITIZER_SYMBOLIZER_H
#define SANITIZER_SYMBOLIZER_H
-#include "sanitizer_defs.h"
+#include "sanitizer_internal_defs.h"
#include "sanitizer_libc.h"
// WARNING: Do not include system headers here. See details above.
diff --git a/lib/sanitizer_common/sanitizer_win.cc b/lib/sanitizer_common/sanitizer_win.cc
index 98414dd..a70817d 100644
--- a/lib/sanitizer_common/sanitizer_win.cc
+++ b/lib/sanitizer_common/sanitizer_win.cc
@@ -16,7 +16,7 @@
#include <assert.h>
-#include "sanitizer_defs.h"
+#include "sanitizer_internal_defs.h"
#include "sanitizer_libc.h"
#define UNIMPLEMENTED_WIN() assert(false)
diff --git a/lib/tsan/rtl/tsan_defs.h b/lib/tsan/rtl/tsan_defs.h
index 94d9b64..e761c78 100644
--- a/lib/tsan/rtl/tsan_defs.h
+++ b/lib/tsan/rtl/tsan_defs.h
@@ -14,7 +14,7 @@
#ifndef TSAN_DEFS_H
#define TSAN_DEFS_H
-#include "sanitizer_common/sanitizer_defs.h"
+#include "sanitizer_common/sanitizer_internal_defs.h"
#include "tsan_stat.h"
#ifndef TSAN_DEBUG