diff options
author | Rui Ueyama <ruiu@google.com> | 2017-03-24 00:15:16 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2017-03-24 00:15:16 +0000 |
commit | 62ff1284422940c4c0ace95cabc7e1fa644f1ce7 (patch) | |
tree | 52ba738ed0e90d69bd31c1bf4f66158204750d4b /lld/ELF/Filesystem.h | |
parent | 8223db97386f272c4dbf92978abbc5059b4b1182 (diff) |
Move a few functions to a new file Filesystem.{cpp,h}.
Diffstat (limited to 'lld/ELF/Filesystem.h')
-rw-r--r-- | lld/ELF/Filesystem.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/lld/ELF/Filesystem.h b/lld/ELF/Filesystem.h new file mode 100644 index 00000000000..7e97cbe634f --- /dev/null +++ b/lld/ELF/Filesystem.h @@ -0,0 +1,22 @@ +//===- Filesystem.h ---------------------------------------------*- C++ -*-===// +// +// The LLVM Linker +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + +#ifndef LLD_ELF_FILESYSTEM_H +#define LLD_ELF_FILESYSTEM_H + +#include "lld/Core/LLVM.h" + +namespace lld { +namespace elf { +void unlinkAsync(StringRef Path); +bool isFileWritable(StringRef Path); +} +} + +#endif |