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 Update for LLVM function name change. 2016-01-14 20:53:50 +00:00
DLL.h Make these headers as being c++. 2015-08-14 14:12:54 +00:00
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 Rename so that the function name is consistent between ELF and COFF. 2016-02-25 18:49:11 +00:00
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 COFF: Move markLive() from Writer.cpp to its own file. 2015-09-19 21:36:28 +00:00
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 Update the documents of the new LLD. 2016-03-12 06:06:40 +00:00
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 [COFF] Remove an unused function, getFileOff 2016-03-15 09:48:18 +00:00
Writer.cpp Fix UBSan bot by not passing NULL into memcpy src. 2016-08-31 17:23:05 +00:00
Writer.h COFF: Move markLive() from Writer.cpp to its own file. 2015-09-19 21:36:28 +00:00

README.md

See docs/NewLLD.rst