diff options
| author | Alex Shlyapnikov <alekseys@google.com> | 2017-07-20 17:48:42 +0000 |
|---|---|---|
| committer | Alex Shlyapnikov <alekseys@google.com> | 2017-07-20 17:48:42 +0000 |
| commit | 89e85d17173bde73e5cd52dcaac80939ebbe2738 (patch) | |
| tree | bb784d10dcc5e3e8db63024881ab4abeb67ef970 /compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc | |
| parent | c37fe66ec5b2346772abaeddc3ca783861a944c4 (diff) | |
| download | bcm5719-llvm-89e85d17173bde73e5cd52dcaac80939ebbe2738.tar.gz bcm5719-llvm-89e85d17173bde73e5cd52dcaac80939ebbe2738.zip | |
[sanitizer_common] Move filesystem-related code out of sanitizer_common.cc
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.
Commiting for mcgrathr.
Reviewers: alekseyshl
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D35591
llvm-svn: 308640
Diffstat (limited to 'compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc')
| -rw-r--r-- | compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc b/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc index 52196db1273..3a159078a6e 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc +++ b/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc @@ -19,6 +19,7 @@ #include "sanitizer_allocator_internal.h" #include "sanitizer_atomic.h" #include "sanitizer_common.h" +#include "sanitizer_file.h" #include "sanitizer_flags.h" #include "sanitizer_freebsd.h" #include "sanitizer_linux.h" |

