From 68c0efac35021516bf46b2793e56e0d9d804c9e8 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Mon, 17 Jun 2013 18:05:35 +0000 Subject: Don't use PathV1.h in LTOCodeGenerator.cpp This patch also adds a simpler version of sys::fs::remove and a tool_output_file constructor for when we already have an open file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184095 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/ToolOutputFile.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/llvm/Support/ToolOutputFile.h') diff --git a/include/llvm/Support/ToolOutputFile.h b/include/llvm/Support/ToolOutputFile.h index b3b7c577b7..cc8511f55b 100644 --- a/include/llvm/Support/ToolOutputFile.h +++ b/include/llvm/Support/ToolOutputFile.h @@ -49,6 +49,8 @@ public: tool_output_file(const char *filename, std::string &ErrorInfo, unsigned Flags = 0); + tool_output_file(const char *Filename, int FD); + /// os - Return the contained raw_fd_ostream. raw_fd_ostream &os() { return OS; } -- cgit v1.2.3