Lines Matching refs:archive
33 #include "archive.h"
54 // Start adding an archive. We support nested archives for future
57 add_archive_start(Archive*);
59 // Finish adding an archive.
61 add_archive_stop(Archive*);
75 // Information we record for an archive.
78 // Archive name.
80 // List of objects included from the archive.
82 // Number of archive members.
86 // A mapping from the name of an archive to the list of objects in
87 // that archive.
117 // List of input archives. This is a mapping from the archive file
132 // Start adding an archive.
135 Cref_inputs::add_archive_start(Archive* archive)
138 if (this->archives_.find(archive->name()) == this->archives_.end())
140 Archive_info* pai = &this->archives_[archive->name()];
141 pai->name = archive->filename();
143 pai->member_count = archive->count_members();
145 this->current_ = this->archives_[archive->name()].objects;
148 // Stop adding an archive.
151 Cref_inputs::add_archive_stop(Archive*)
187 // of an object file included in the link; for an archive, this will
196 // name of an archive file included in the link. MEMBERS is the
197 // number of members of the archive. USED is the number of archive
208 fprintf(f, "archive %s %zu %zu\n", p->second.name.c_str(),
352 // Start adding an archive.
355 Cref::add_archive_start(Archive* archive)
358 this->inputs_->add_archive_start(archive);
361 // Stop adding an archive.
364 Cref::add_archive_stop(Archive* archive)
366 this->inputs_->add_archive_stop(archive);