llvm-project/lld/unittests/MachOTests
Rui Ueyama 951cfb6aae Fix potential test failures.
Windows does not allow opened files to be removed. This patch
fixes two types of errors.

 - Output file being the same as input file. Because LLD itself
   holds a file descriptor of the input file, it cannot create an
   output file with the same name as a new file.

 - Removing files before releasing MemoryBuffer objects.

These tests are not failing no because MemoryBuffer happens to
decide not to use mmap on these files. But we shouldn't rely on
that behavior.

llvm-svn: 280507
2016-09-02 17:19:28 +00:00
..
CMakeLists.txt update library dependency 2014-09-29 23:52:50 +00:00
MachONormalizedFileBinaryReaderTests.cpp Fix Clang-tidy misc-unused-using-decls and Include What You Use warnings. 2016-04-21 17:14:10 +00:00
MachONormalizedFileBinaryWriterTests.cpp Fix potential test failures. 2016-09-02 17:19:28 +00:00
MachONormalizedFileToAtomsTests.cpp Fix Clang-tidy misc-unused-using-decls and Include What You Use warnings. 2016-04-21 17:14:10 +00:00
MachONormalizedFileYAMLTests.cpp Fix Clang-tidy misc-unused-using-decls and Include What You Use warnings. 2016-04-21 17:14:10 +00:00
empty_obj_x86_armv7.txt [MachO] Begin support for reading fat binaries. 2014-01-14 22:32:38 +00:00