14 #ifndef LLVM_OBJECT_ARCHIVEWRITER_H 15 #define LLVM_OBJECT_ARCHIVEWRITER_H 25 std::unique_ptr<MemoryBuffer>
Buf;
43 bool Deterministic,
bool Thin,
44 std::unique_ptr<MemoryBuffer> OldArchiveBuf =
nullptr);
This class represents lattice values for constants.
Error writeArchive(StringRef ArcName, ArrayRef< NewArchiveMember > NewMembers, bool WriteSymtab, object::Archive::Kind Kind, bool Deterministic, bool Thin, std::unique_ptr< MemoryBuffer > OldArchiveBuf=nullptr)
Tagged union holding either a T or a Error.
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory)...
static Expected< NewArchiveMember > getOldMember(const object::Archive::Child &OldMember, bool Deterministic)
static Expected< NewArchiveMember > getFile(StringRef FileName, bool Deterministic)
Lightweight error class with error context and mandatory checking.
NewArchiveMember()=default
StringRef - Represent a constant reference to a string, i.e.
std::unique_ptr< MemoryBuffer > Buf
sys::TimePoint< std::chrono::seconds > ModTime
std::chrono::time_point< std::chrono::system_clock, D > TimePoint
A time point on the system clock.