[DFSan] Don't include public headers in dfsan runtime code
commitc85d6274d127d988539ed6a35242d3f82c4eb5bf
authorAlexey Samsonov <samsonov@google.com>
Sun, 17 Nov 2013 09:41:47 +0000 (17 09:41 +0000)
committerAlexey Samsonov <samsonov@google.com>
Sun, 17 Nov 2013 09:41:47 +0000 (17 09:41 +0000)
tree3175021cd3910082e7fc35cba71d7f20374dc6e9
parentf7e060d01b766e1626a959bfecd383cf0ac76d66
[DFSan] Don't include public headers in dfsan runtime code

Summary:
Definitions we use in public sanitizer headers may
slightly conflict with the ones we use in private sanitizer runtimes.
Moreover, we generally forbid to include any system headers (like <stdint.h>)
in sanitizer runtime headers. This leads to inevitable duplication of selected
interface function declarations, but we decided to live with it.

Reviewers: pcc

Reviewed By: pcc

CC: kcc, llvm-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D2179

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194955 91177308-0d34-0410-b5e6-96231b3b80d8
CMakeLists.txt
lib/dfsan/dfsan.cc
lib/dfsan/dfsan.h
lib/dfsan/dfsan_custom.cc
lib/dfsan/dfsan_interceptors.cc