forked from OSchip/llvm-project
[Sanitizer] rename sanitizer_defs.h to sanitizer_internal_defs.h
llvm-svn: 158001
This commit is contained in:
parent
3768b58f82
commit
5bbf8290a7
|
@ -14,7 +14,7 @@
|
||||||
#ifndef ASAN_INTERNAL_H
|
#ifndef ASAN_INTERNAL_H
|
||||||
#define 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"
|
#include "sanitizer_common/sanitizer_libc.h"
|
||||||
|
|
||||||
#if !defined(__linux__) && !defined(__APPLE__) && !defined(_WIN32)
|
#if !defined(__linux__) && !defined(__APPLE__) && !defined(_WIN32)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
//===-- sanitizer_defs.h ----------------------------------------*- C++ -*-===//
|
//===-- sanitizer_internal_defs.h -------------------------------*- C++ -*-===//
|
||||||
//
|
//
|
||||||
// The LLVM Compiler Infrastructure
|
// The LLVM Compiler Infrastructure
|
||||||
//
|
//
|
|
@ -10,7 +10,7 @@
|
||||||
// This file is shared between AddressSanitizer and ThreadSanitizer
|
// This file is shared between AddressSanitizer and ThreadSanitizer
|
||||||
// run-time libraries. See sanitizer_libc.h for details.
|
// run-time libraries. See sanitizer_libc.h for details.
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
#include "sanitizer_defs.h"
|
#include "sanitizer_internal_defs.h"
|
||||||
#include "sanitizer_libc.h"
|
#include "sanitizer_libc.h"
|
||||||
|
|
||||||
namespace __sanitizer {
|
namespace __sanitizer {
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
#ifndef SANITIZER_LIBC_H
|
#ifndef SANITIZER_LIBC_H
|
||||||
#define 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.
|
// No code here yet. Will move more code in the next changes.
|
||||||
namespace __sanitizer {
|
namespace __sanitizer {
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
|
|
||||||
#include "sanitizer_defs.h"
|
#include "sanitizer_internal_defs.h"
|
||||||
#include "sanitizer_libc.h"
|
#include "sanitizer_libc.h"
|
||||||
|
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
|
|
||||||
#include "sanitizer_defs.h"
|
#include "sanitizer_internal_defs.h"
|
||||||
#include "sanitizer_libc.h"
|
#include "sanitizer_libc.h"
|
||||||
|
|
||||||
#include <sys/mman.h>
|
#include <sys/mman.h>
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
#if defined(__linux__) || defined(__APPLE__)
|
#if defined(__linux__) || defined(__APPLE__)
|
||||||
|
|
||||||
#include "sanitizer_defs.h"
|
#include "sanitizer_internal_defs.h"
|
||||||
#include "sanitizer_libc.h"
|
#include "sanitizer_libc.h"
|
||||||
|
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
#ifndef SANITIZER_SYMBOLIZER_H
|
#ifndef SANITIZER_SYMBOLIZER_H
|
||||||
#define SANITIZER_SYMBOLIZER_H
|
#define SANITIZER_SYMBOLIZER_H
|
||||||
|
|
||||||
#include "sanitizer_defs.h"
|
#include "sanitizer_internal_defs.h"
|
||||||
#include "sanitizer_libc.h"
|
#include "sanitizer_libc.h"
|
||||||
// WARNING: Do not include system headers here. See details above.
|
// WARNING: Do not include system headers here. See details above.
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
#include "sanitizer_defs.h"
|
#include "sanitizer_internal_defs.h"
|
||||||
#include "sanitizer_libc.h"
|
#include "sanitizer_libc.h"
|
||||||
|
|
||||||
#define UNIMPLEMENTED_WIN() assert(false)
|
#define UNIMPLEMENTED_WIN() assert(false)
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
#ifndef TSAN_DEFS_H
|
#ifndef TSAN_DEFS_H
|
||||||
#define TSAN_DEFS_H
|
#define TSAN_DEFS_H
|
||||||
|
|
||||||
#include "sanitizer_common/sanitizer_defs.h"
|
#include "sanitizer_common/sanitizer_internal_defs.h"
|
||||||
#include "tsan_stat.h"
|
#include "tsan_stat.h"
|
||||||
|
|
||||||
#ifndef TSAN_DEBUG
|
#ifndef TSAN_DEBUG
|
||||||
|
|
Loading…
Reference in New Issue