LLVM  6.0.0svn
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
[legend]

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
 
bool IsNew = false
 

Detailed Description

Definition at line 24 of file ArchiveWriter.h.

Constructor & Destructor Documentation

◆ NewArchiveMember() [1/2]

llvm::NewArchiveMember::NewArchiveMember ( )
default

◆ NewArchiveMember() [2/2]

NewArchiveMember::NewArchiveMember ( MemoryBufferRef  BufRef)

Definition at line 38 of file ArchiveWriter.cpp.

Member Function Documentation

◆ getFile()

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

◆ getOldMember()

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

Member Data Documentation

◆ Buf

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

◆ GID

unsigned llvm::NewArchiveMember::GID = 0

Definition at line 28 of file ArchiveWriter.h.

Referenced by getFile(), getOldMember(), and printMemberHeader().

◆ IsNew

bool llvm::NewArchiveMember::IsNew = false

Definition at line 30 of file ArchiveWriter.h.

Referenced by addToStringTable(), getFile(), and getOldMember().

◆ MemberName

StringRef llvm::NewArchiveMember::MemberName

Definition at line 26 of file ArchiveWriter.h.

Referenced by addToStringTable(), getFile(), getOldMember(), and printMemberHeader().

◆ ModTime

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

Definition at line 27 of file ArchiveWriter.h.

Referenced by getFile(), getOldMember(), and printMemberHeader().

◆ Perms

unsigned llvm::NewArchiveMember::Perms = 0644

Definition at line 28 of file ArchiveWriter.h.

Referenced by getFile(), getOldMember(), and printMemberHeader().

◆ UID

unsigned llvm::NewArchiveMember::UID = 0

Definition at line 28 of file ArchiveWriter.h.

Referenced by getFile(), getOldMember(), and printMemberHeader().


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