[Sanitizer] State that sanitizer_libc.h header can be included in the user code (and therefore it shouldn't include other sanitizer runtime headers).

llvm-svn: 158707
This commit is contained in:
Alexey Samsonov 2012-06-19 08:52:02 +00:00
parent b13ac747d4
commit af70c09b84
1 changed files with 4 additions and 1 deletions

View File

@ -11,11 +11,14 @@
// run-time libraries.
// These tools can not use some of the libc functions directly because those
// functions are intercepted. Instead, we implement a tiny subset of libc here.
// NOTE: This file may be included into user code.
//===----------------------------------------------------------------------===//
#ifndef SANITIZER_LIBC_H
#define SANITIZER_LIBC_H
#include "sanitizer_internal_defs.h"
// ----------- ATTENTION -------------
// This header should NOT include any other headers from sanitizer runtime.
#include "sanitizer_interface_defs.h"
namespace __sanitizer {