]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/tools/lld/ELF/Filesystem.h
Upgrade our copies of clang, llvm, lld, lldb, compiler-rt and libc++ to
[FreeBSD/FreeBSD.git] / contrib / llvm / tools / lld / ELF / Filesystem.h
1 //===- Filesystem.h ---------------------------------------------*- C++ -*-===//
2 //
3 //                             The LLVM Linker
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9
10 #ifndef LLD_ELF_FILESYSTEM_H
11 #define LLD_ELF_FILESYSTEM_H
12
13 #include "lld/Common/LLVM.h"
14 #include <system_error>
15
16 namespace lld {
17 namespace elf {
18 void unlinkAsync(StringRef Path);
19 std::error_code tryCreateFile(StringRef Path);
20 } // namespace elf
21 } // namespace lld
22
23 #endif