summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc
diff options
context:
space:
mode:
authorAlex Shlyapnikov <alekseys@google.com>2017-07-20 17:48:42 +0000
committerAlex Shlyapnikov <alekseys@google.com>2017-07-20 17:48:42 +0000
commit89e85d17173bde73e5cd52dcaac80939ebbe2738 (patch)
treebb784d10dcc5e3e8db63024881ab4abeb67ef970 /compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc
parentc37fe66ec5b2346772abaeddc3ca783861a944c4 (diff)
downloadbcm5719-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.cc1
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"
OpenPOWER on IntegriCloud