LLVM  14.0.0git
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
llvm::NewArchiveMember Struct Reference

#include "llvm/Object/ArchiveWriter.h"

Collaboration diagram for llvm::NewArchiveMember:
Collaboration graph

Public Member Functions

 NewArchiveMember ()=default
 NewArchiveMember (MemoryBufferRef BufRef)

Static Public Member Functions

static Expected< NewArchiveMembergetOldMember (const object::Archive::Child &OldMember, bool Deterministic)
static Expected< NewArchiveMembergetFile (StringRef FileName, bool Deterministic)

Public Attributes

std::unique_ptr< MemoryBufferBuf
StringRef MemberName
sys::TimePoint< std::chrono::seconds > ModTime
unsigned UID = 0
unsigned GID = 0
unsigned Perms = 0644

Detailed Description

Definition at line 20 of file ArchiveWriter.h.

Constructor & Destructor Documentation

◆ NewArchiveMember() [1/2]

llvm::NewArchiveMember::NewArchiveMember ( )

◆ NewArchiveMember() [2/2]

NewArchiveMember::NewArchiveMember ( MemoryBufferRef  BufRef)

Definition at line 43 of file ArchiveWriter.cpp.

Member Function Documentation

◆ getFile()

Expected< NewArchiveMember > NewArchiveMember::getFile ( StringRef  FileName,
bool  Deterministic 

◆ getOldMember()

Expected< NewArchiveMember > NewArchiveMember::getOldMember ( const object::Archive::Child OldMember,
bool  Deterministic 

Member Data Documentation

◆ Buf

std::unique_ptr<MemoryBuffer> llvm::NewArchiveMember::Buf

Definition at line 21 of file ArchiveWriter.h.

Referenced by getDefaultOutputPath().


unsigned llvm::NewArchiveMember::GID = 0

Definition at line 24 of file ArchiveWriter.h.

◆ MemberName

StringRef llvm::NewArchiveMember::MemberName

Definition at line 22 of file ArchiveWriter.h.

◆ ModTime

sys::TimePoint<std::chrono::seconds> llvm::NewArchiveMember::ModTime

Definition at line 23 of file ArchiveWriter.h.

◆ Perms

unsigned llvm::NewArchiveMember::Perms = 0644

Definition at line 24 of file ArchiveWriter.h.


unsigned llvm::NewArchiveMember::UID = 0

Definition at line 24 of file ArchiveWriter.h.

The documentation for this struct was generated from the following files: