LLVM 20.0.0git
|
#include "llvm/Support/TarWriter.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Support/Path.h"
Go to the source code of this file.
Classes | |
struct | UstarHeader |
Functions | |
static UstarHeader | makeUstarHeader () |
static std::string | formatPax (StringRef Key, StringRef Val) |
static void | pad (raw_fd_ostream &OS) |
static void | computeChecksum (UstarHeader &Hdr) |
static void | writePaxHeader (raw_fd_ostream &OS, StringRef Path) |
static bool | splitUstar (StringRef Path, StringRef &Prefix, StringRef &Name) |
static void | writeUstarHeader (raw_fd_ostream &OS, StringRef Prefix, StringRef Name, size_t Size) |
Variables | |
static const int | BlockSize = 512 |
|
static |
Definition at line 88 of file TarWriter.cpp.
References UstarHeader::Checksum, and I.
Referenced by writePaxHeader(), and writeUstarHeader().
Definition at line 70 of file TarWriter.cpp.
References llvm::StringRef::size(), llvm::Twine::str(), and llvm::Total.
Referenced by writePaxHeader().
|
static |
Definition at line 56 of file TarWriter.cpp.
References UstarHeader::Magic, and UstarHeader::Version.
Referenced by writePaxHeader(), and writeUstarHeader().
|
static |
Definition at line 82 of file TarWriter.cpp.
References llvm::alignTo(), BlockSize, OS, and llvm::raw_ostream::tell().
Referenced by llvm::TarWriter::append(), and writePaxHeader().
Definition at line 127 of file TarWriter.cpp.
References Name, UstarHeader::Name, and llvm::StringRef::npos.
Referenced by llvm::TarWriter::append().
|
static |
Definition at line 101 of file TarWriter.cpp.
References computeChecksum(), formatPax(), makeUstarHeader(), OS, pad(), UstarHeader::Size, and UstarHeader::TypeFlag.
Referenced by llvm::TarWriter::append().
|
static |
Definition at line 157 of file TarWriter.cpp.
References computeChecksum(), makeUstarHeader(), UstarHeader::Mode, Name, UstarHeader::Name, UstarHeader::Prefix, Size, and UstarHeader::Size.
Referenced by llvm::TarWriter::append().
|
static |
Definition at line 33 of file TarWriter.cpp.
Referenced by llvm::TarWriter::append(), llvm::msf::blockToOffset(), llvm::msf::bytesToBlocks(), computeBlockRuns(), llvm::msf::WritableMappedBlockStream::createStream(), CreateVPTBlock(), llvm::MachineFunction::estimateFunctionSizeInBytes(), llvm::msf::MappedBlockStream::getBlockSize(), GetInitialBlockMask(), llvm::msf::getNumFpmIntervals(), llvm::pdb::PDBFileBuilder::initialize(), llvm::isREVMask(), llvm::isVREVMask(), isWideDUPMask(), and pad().