Home
last modified time | relevance | path

Searched refs:TmpArchive (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Archive/
DArchiveWriter.cpp364 sys::Path TmpArchive = archPath; in writeToDisk() local
365 if (TmpArchive.createTemporaryFileOnDisk(ErrMsg)) in writeToDisk()
369 sys::RemoveFileOnSignal(TmpArchive); in writeToDisk()
374 std::ofstream ArchiveFile(TmpArchive.c_str(), io_mode); in writeToDisk()
378 TmpArchive.eraseFromDisk(); in writeToDisk()
398 TmpArchive.eraseFromDisk(); in writeToDisk()
419 if (error_code ec = MemoryBuffer::getFile(TmpArchive.c_str(), arch)) { in writeToDisk()
434 TmpArchive.eraseFromDisk(); in writeToDisk()
451 TmpArchive.eraseFromDisk(); in writeToDisk()
469 if (FinalFilePath.renamePathOnDisk(TmpArchive, ErrMsg)) in writeToDisk()
[all …]
/external/llvm/lib/Object/
DArchiveWriter.cpp330 SmallString<128> TmpArchive; in writeArchive() local
333 TmpArchiveFD, TmpArchive)) in writeArchive()
336 tool_output_file Output(TmpArchive, TmpArchiveFD); in writeArchive()
406 sys::fs::rename(TmpArchive, ArcName); in writeArchive()