HomeSort by: relevance | last modified time | path
    Searched refs:Archive (Results 1 - 25 of 46) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/llvm/include/llvm/ObjectYAML/
ArchiveYAML.h 1 //===- ArchiveYAML.h - Archive YAMLIO implementation ------------*- C++ -*-===//
24 struct Archive {
59 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::ArchYAML::Archive::Child)
64 template <> struct MappingTraits<ArchYAML::Archive> {
65 static void mapping(IO &IO, ArchYAML::Archive &A);
66 static std::string validate(IO &, ArchYAML::Archive &A);
69 template <> struct MappingTraits<ArchYAML::Archive::Child> {
70 static void mapping(IO &IO, ArchYAML::Archive::Child &C);
71 static std::string validate(IO &, ArchYAML::Archive::Child &C);
ObjectYAML.h 27 std::unique_ptr<ArchYAML::Archive> Arch;
yaml2obj.h 44 struct Archive;
53 bool yaml2archive(ArchYAML::Archive &Doc, raw_ostream &Out, ErrorHandler EH);
  /src/external/apache2/llvm/dist/llvm/lib/ObjectYAML/
ArchiveYAML.cpp 19 void MappingTraits<ArchYAML::Archive>::mapping(IO &IO, ArchYAML::Archive &A) {
29 std::string MappingTraits<ArchYAML::Archive>::validate(IO &,
30 ArchYAML::Archive &A) {
36 void MappingTraits<ArchYAML::Archive::Child>::mapping(
37 IO &IO, ArchYAML::Archive::Child &E) {
46 MappingTraits<ArchYAML::Archive::Child>::validate(IO &,
47 ArchYAML::Archive::Child &C) {
ArchiveEmitter.cpp 20 bool yaml2archive(ArchYAML::Archive &Doc, raw_ostream &Out, ErrorHandler EH) {
37 for (const Archive::Child &C : *Doc.Members) {
ObjectYAML.cpp 37 ObjectFile.Arch.reset(new ArchYAML::Archive());
38 MappingTraits<ArchYAML::Archive>::mapping(IO, *ObjectFile.Arch);
40 MappingTraits<ArchYAML::Archive>::validate(IO, *ObjectFile.Arch);
  /src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/
llvm-objcopy.h 21 class Archive;
29 const object::Archive &Ar);
llvm-objcopy.cpp 26 #include "llvm/Object/Archive.h"
106 // For thin archives it writes the archive file itself as well as its members.
109 bool WriteSymtab, object::Archive::Kind Kind,
220 createNewArchiveMembers(const MultiFormatConfig &Config, const Archive &Ar) {
223 for (const Archive::Child &Child : Ar.children(Err)) {
259 const object::Archive &Ar) {
318 /// of input (raw binary, archive or single object file) and takes care of the
362 if (Archive *Ar = dyn_cast<Archive>(BinaryHolder.getBinary())) {
363 // Handle Archive
    [all...]
  /src/external/apache2/llvm/lib/libLLVMArchive/
Makefile 7 .PATH: ${LLVM_SRCDIR}/lib/Archive
9 SRCS+= Archive.cpp \
  /src/external/apache2/llvm/dist/llvm/include/llvm/Object/
ArchiveWriter.h 1 //===- ArchiveWriter.h - ar archive file format writer ----------*- C++ -*-===//
9 // Declares the writeArchive function for writing an archive file.
16 #include "llvm/Object/Archive.h"
30 getOldMember(const object::Archive::Child &OldMember, bool Deterministic);
39 bool WriteSymtab, object::Archive::Kind Kind,
43 // writeArchiveToBuffer is similar to writeArchive but returns the Archive in a
47 object::Archive::Kind Kind, bool Deterministic, bool Thin);
Archive.h 1 //===- Archive.h - ar archive file format -----------------------*- C++ -*-===//
9 // This file declares the ar archive file format class.
35 class Archive;
39 friend class Archive;
41 ArchiveMemberHeader(Archive const *Parent, const char *RawHeaderPtr,
79 Archive const *Parent;
83 class Archive : public Binary {
88 friend Archive;
91 const Archive *Parent
    [all...]
MachOUniversalWriter.h 17 #include "llvm/Object/Archive.h"
47 /// \param ArchName , \param Align instead of inferring them from the archive
49 Slice(const Archive &A, uint32_t CPUType, uint32_t CPUSubType,
52 static Expected<Slice> create(const Archive &A,
MachOUniversal.h 19 #include "llvm/Object/Archive.h"
110 Expected<std::unique_ptr<Archive>> getAsArchive() const;
165 Expected<std::unique_ptr<Archive>>
  /src/external/apache2/llvm/dist/llvm/lib/Object/
Archive.cpp 1 //===- Archive.cpp - ar File Format implementation ------------------------===//
13 #include "llvm/Object/Archive.h"
44 void Archive::anchor() {}
48 std::string StringMsg = "truncated or malformed archive (" + Msg.str() + ")";
53 ArchiveMemberHeader::ArchiveMemberHeader(const Archive *Parent,
64 std::string Msg("remaining size of archive too small for next archive "
83 std::string Msg("terminator characters in archive member \"" + Buf +
84 "\" not the correct \"`\\n\" values for the archive "
99 // valid for the kind of archive. If it is not valid it returns an Error
    [all...]
ArchiveWriter.cpp 19 #include "llvm/Object/Archive.h"
48 NewArchiveMember::getOldMember(const object::Archive::Child &OldMember,
126 static bool isDarwin(object::Archive::Kind Kind) {
127 return Kind == object::Archive::K_DARWIN ||
128 Kind == object::Archive::K_DARWIN64;
131 static bool isBSDLike(object::Archive::Kind Kind) {
133 case object::Archive::K_GNU:
134 case object::Archive::K_GNU64:
136 case object::Archive::K_BSD:
137 case object::Archive::K_DARWIN
    [all...]
MachOUniversal.cpp 14 #include "llvm/Object/Archive.h"
103 Expected<std::unique_ptr<Archive>>
117 return Archive::create(ObjBuffer);
266 Expected<std::unique_ptr<Archive>>
Binary.cpp 16 #include "llvm/Object/Archive.h"
52 case file_magic::archive:
53 return Archive::create(Buffer);
  /src/external/apache2/llvm/dist/llvm/tools/obj2yaml/
archive2yaml.cpp 19 Expected<ArchYAML::Archive *> dump(MemoryBufferRef Source) {
21 assert(file_magic::archive == identify_magic(Buffer));
23 std::unique_ptr<ArchYAML::Archive> Obj =
24 std::make_unique<ArchYAML::Archive>();
51 ArchYAML::Archive::Child C;
72 " of size %" PRId64 ": the remaining archive size is %zu",
105 Expected<ArchYAML::Archive *> YAMLOrErr = Dumper.dump(Source);
109 std::unique_ptr<ArchYAML::Archive> YAML(YAMLOrErr.get());
  /src/external/apache2/llvm/dist/llvm/tools/llvm-ar/
llvm-ar.cpp 1 //===-- llvm-ar.cpp - LLVM archive librarian utility ----------------------===//
9 // Builds up (relatively) standard unix archive files (.a) containing LLVM
19 #include "llvm/Object/Archive.h"
68 USAGE: llvm-ranlib <archive-file>
79 USAGE: llvm-ar [options] [-]<operation>[modifiers] [relpos] [count] <archive> [files]
83 --format - archive format to create
97 d - delete [files] from the archive
98 m - move [files] in the archive
99 p - print [files] found in the archive
100 q - quick append [files] to the archive
    [all...]
  /src/external/apache2/llvm/dist/llvm/tools/llvm-libtool-darwin/
llvm-libtool-darwin.cpp 301 const object::Archive::Child &M, const Config &C) {
319 object::Archive &Lib, StringRef FileName,
322 for (const object::Archive::Child &Child : Lib.children(Err))
335 Expected<std::unique_ptr<Archive>> LibOrErr =
336 object::Archive::create(NM.Buf->getMemBufferRef());
377 // Archive. In case we can successfully cast the member as an IRObject, it
391 Expected<std::unique_ptr<Archive>> ArchiveOrError = O.getAsArchive();
394 // Archive. In case we can successfully cast the member as an Archive, it
431 if (Magic == file_magic::archive)
    [all...]
  /src/external/apache2/llvm/dist/llvm/tools/dsymutil/
BinaryHolder.cpp 24 StringRef Archive = Filename.substr(0, Filename.rfind('('));
25 StringRef Object = Filename.substr(Archive.size() + 1).drop_back();
26 return {Archive, Object};
49 // Try to load archive and force it to be memory mapped.
59 WithColor::note() << "loaded archive '" << ArchiveFilename << "'\n";
61 // Load one or more archive buffers, depending on whether we're dealing with
80 auto ErrOrArchive = object::Archive::create(MemRef);
182 // the archive members might fail and we don't want to lock the whole archive
186 for (const auto &Archive : Archives)
    [all...]
  /src/external/apache2/llvm/lib/libLLVMObject/
Makefile 9 SRCS+= Archive.cpp \
  /src/external/apache2/llvm/dist/llvm/lib/ToolDrivers/llvm-lib/
LibDriver.cpp 111 // lib.exe prints the contents of the first archive file.
114 // Create or open the archive object.
119 if (identify_magic(MaybeBuf.get()->getBuffer()) == file_magic::archive) {
130 object::Archive Archive(B.get()->getMemBufferRef(), Err);
133 for (auto &C : Archive.children(Err)) {
186 Magic != file_magic::archive && Magic != file_magic::windows_resource &&
189 << ": not a COFF object, bitcode, archive, import library or "
194 // If a user attempts to add an archive to another archive, llvm-lib doesn'
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Orc/
ExecutionUtils.cpp 288 // If this is a regular archive then create an instance from it.
289 if (isa<object::Archive>(B->getBinary()))
350 // Bail out early if we've already freed the archive.
351 if (!Archive)
358 auto Child = Archive->findSym(*Name);
384 Archive(std::make_unique<object::Archive>(*this->ArchiveBuffer, Err)) {}
  /src/external/apache2/llvm/dist/llvm/tools/llvm-link/
llvm-link.cpp 27 #include "llvm/Object/Archive.h"
152 errs() << "Reading library archive file '" << ArchiveName
155 object::Archive Archive(*Buffer, Err);
158 for (const object::Archive::Child &C : Archive.children(Err)) {
162 WithColor::error() << " failed to read name of archive member"
169 << "' of archive library to module.\n";
175 << "' of archive library failed'" << ArchiveName
185 WithColor::error() << " member of archive is not a bitcode file: '
    [all...]

Completed in 27 milliseconds

1 2