Don't use PathV1.h in LTOCodeGenerator.cpp
authorRafael Espindola <rafael.espindola@gmail.com>
Mon, 17 Jun 2013 18:05:35 +0000 (18:05 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Mon, 17 Jun 2013 18:05:35 +0000 (18:05 +0000)
commit68c0efac35021516bf46b2793e56e0d9d804c9e8
tree2c6ef13444d2f395b32a4e6b8aeecef992d2d4a6
parentd5bf07b4667c7381fcd375b186e95436b32b90e6
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/FileSystem.h
include/llvm/Support/ToolOutputFile.h
lib/Support/ToolOutputFile.cpp
tools/lto/LTOCodeGenerator.cpp