diff options
author | Vitaly Buka <vitalybuka@google.com> | 2017-07-22 01:46:40 +0000 |
---|---|---|
committer | Vitaly Buka <vitalybuka@google.com> | 2017-07-22 01:46:40 +0000 |
commit | f2d5726e3687bc8aa439e22cbd5f719a0a9c6299 (patch) | |
tree | 2392917ff4fa4743bf02ac54aa572570d69f5a18 /lib/sanitizer_common/tests/sanitizer_libc_test.cc | |
parent | ce339bb5f5f79904d6e39b9ca152873aaae840ab (diff) | |
download | compiler-rt-f2d5726e3687bc8aa439e22cbd5f719a0a9c6299.tar.gz |
[sanitizer_common] Move filesystem-related code out of sanitizer_common.cc
Summary:
This is a pure refactoring change. It just moves code that is
related to filesystem operations from sanitizer_common.{cc,h} to
sanitizer_file.{cc,h}. This makes it cleaner to disable the
filesystem-related code for a new port that doesn't want it.
Submitted on behalf of Roland McGrath.
Reviewers: kcc, eugenis, alekseyshl
Reviewed By: alekseyshl
Subscribers: vitalybuka, llvm-commits, kubamracek, mgorny, phosek
Tags: #sanitizers
Differential Revision: https://reviews.llvm.org/D35591
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@308819 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/tests/sanitizer_libc_test.cc')
-rw-r--r-- | lib/sanitizer_common/tests/sanitizer_libc_test.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sanitizer_common/tests/sanitizer_libc_test.cc b/lib/sanitizer_common/tests/sanitizer_libc_test.cc index 625257622..a73c65a51 100644 --- a/lib/sanitizer_common/tests/sanitizer_libc_test.cc +++ b/lib/sanitizer_common/tests/sanitizer_libc_test.cc @@ -11,6 +11,7 @@ #include <algorithm> #include "sanitizer_common/sanitizer_common.h" +#include "sanitizer_common/sanitizer_file.h" #include "sanitizer_common/sanitizer_libc.h" #include "sanitizer_common/sanitizer_platform.h" #include "gtest/gtest.h" |