2017-03-24 08:15:16 +08:00
|
|
|
//===- 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);
|
2017-04-27 00:14:46 +08:00
|
|
|
std::error_code tryCreateFile(StringRef Path);
|
2017-07-18 19:55:35 +08:00
|
|
|
} // namespace elf
|
|
|
|
} // namespace lld
|
2017-03-24 08:15:16 +08:00
|
|
|
|
|
|
|
#endif
|