forked from OSchip/llvm-project
[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:
parent
b13ac747d4
commit
af70c09b84
|
@ -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 {
|
||||
|
||||
|
|
Loading…
Reference in New Issue