hanchenye-llvm-project/lld/COFF
Rui Ueyama fa12b8bd1a Remove temoprary files.
Previously, we created temporary files using llvm::sys::fs::createTemporaryFile
and removed them using llvm::FileRemover. This is error-prone as it is easy to
forget creating FileRemover instances after creating temporary files.
There is actually a temporary file leak bug.

This patch introduces a new class, TemporaryFile, to manage temporary files
in the RAII style.

Differential Revision: https://reviews.llvm.org/D24176

llvm-svn: 280510
2016-09-02 17:34:17 +00:00
..
CMakeLists.txt COFF: Implement /linkrepro flag. 2016-07-26 02:00:42 +00:00
Chunks.cpp COFF ARM: Apply an existing offset in MOV32T relocations 2016-08-05 18:20:31 +00:00
Chunks.h Apply clang-tidy's misc-move-constructor-init to lld. 2016-06-03 16:57:13 +00:00
Config.h COFF: add beginnings of debug directory creation 2016-08-29 21:20:46 +00:00
DLL.cpp
DLL.h
Driver.cpp COFF: add beginnings of debug directory creation 2016-08-29 21:20:46 +00:00
Driver.h COFF: Implement /linkrepro flag. 2016-07-26 02:00:42 +00:00
DriverUtils.cpp Remove temoprary files. 2016-09-02 17:34:17 +00:00
Error.cpp COFF: Remove `void error()` functions and use fatal instead. 2016-07-15 00:40:46 +00:00
Error.h Needed change to lld for the changes to libObject/Archive interfaces now returning Expected<> 2016-08-03 21:58:48 +00:00
ICF.cpp
InputFiles.cpp lld-link: Include the name of bad input files in several "input file is bad" diagnostics. 2016-08-03 18:07:28 +00:00
InputFiles.h COFF: Rename noreturn error -> fatal. 2016-07-14 23:37:14 +00:00
Librarian.cpp Unpollute the global namespace. lld edition. 2016-08-06 13:52:37 +00:00
MarkLive.cpp
ModuleDef.cpp Remove unnecessary explicit call of Twine ctor. 2016-07-15 01:06:40 +00:00
Options.td COFF: handle /debugtype option 2016-08-08 22:02:44 +00:00
PDB.cpp COFF: Remove `void error()` functions and use fatal instead. 2016-07-15 00:40:46 +00:00
README.md
SymbolTable.cpp COFF: Update error messages so that they start with lowercase letters. 2016-07-15 01:12:24 +00:00
SymbolTable.h [COFF] SmallVector<char, 0> -> SmallString<0>. 2016-04-09 23:00:31 +00:00
Symbols.cpp COFF: Update error messages so that they start with lowercase letters. 2016-07-15 01:12:24 +00:00
Symbols.h
Writer.cpp Fix UBSan bot by not passing NULL into memcpy src. 2016-08-31 17:23:05 +00:00
Writer.h

README.md

See docs/NewLLD.rst