• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //===- FileSystem.cpp -----------------------------------------------------===//
2 //
3 //                     The MCLinker Project
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 #include "mcld/Support/FileSystem.h"
10 #include "mcld/Support/Path.h"
11 
12 #if defined(ANDROID)
13 #include <llvm/Config/config.h>
14 #endif
15 
16 using namespace mcld::sys::fs;
17 
18 
19 //===--------------------------------------------------------------------===//
20 // SearchDirs
21 
22 //===--------------------------------------------------------------------===//
23 // non-member functions
24 
25 // Include the truly platform-specific parts.
26 #if defined(LLVM_ON_UNIX)
27 #include "Unix/FileSystem.inc"
28 #include "Unix/PathV3.inc"
29 #endif
30 #if defined(LLVM_ON_WIN32)
31 #include "Windows/FileSystem.inc"
32 #include "Windows/PathV3.inc"
33 #endif
34