Home | History | Annotate | Download | only in gold

Lines Matching refs:archive

0 // archive.h -- archive support for gold      -*- C++ -*-
47 // An entry in the archive map of offsets to members.
64 // This class serves as a base class for Archive and Lib_group objects.
82 // The modification time of the archive file.
87 // When we see a symbol in an archive we might decide to include the member,
139 // The task reading this archive.
147 // Return the modification time of the archive file.
155 // The incremental link information for this archive.
159 // This class represents an archive--generally a libNAME.a file.
162 class Archive : public Library_base
165 Archive(const std::string& name, Input_file* input_file,
168 // The length of the magic string at the start of an archive.
171 // The magic string at the start of an archive.
175 // The string expected at the end of an archive member header.
190 // Set up the archive: read the symbol map.
233 // Whether this is a thin archive.
242 // Select members from the archive as needed and add them to the
247 // Return whether the archive defines the symbol.
255 // Return the number of members in the archive.
265 Archive(const Archive&);
266 Archive& operator=(const Archive&);
273 // The modification time of the archive file.
282 // Total number of archive members seen.
284 // Number of archive members loaded.
292 // Read the archive symbol map.
296 // Read an archive member header at OFF. CACHE is whether to cache
302 // Interpret an archive header HDR at OFF. Return the size of the
308 // Get the file and offset for an archive member, which may be an
309 // external member of a thin archive. Set *INPUT_FILE to the
311 // within that file (0 if not a nested archive), and *MEMBER_NAME
312 // to the name of the archive member. Return TRUE on success.
321 // Read the symbols from all the archive members in the link.
325 // Read the symbols from an archive member in the link. OFF is the file
330 // Include all the archive members in the link.
334 // Include an archive member in the link.
339 // Return whether we found this archive by searching a directory.
344 // Iterate over archive members.
359 // An entry in the archive map of symbols to object files.
364 // The file offset to the object in the archive.
376 // For keeping track of open nested archives in a thin archive file.
377 typedef Unordered_map<std::string, Archive*> Nested_archive_table;
383 // The archive map.
385 // The names in the archive map.
389 // Track which symbols in the archive map are for elements which are
396 // True if this is a thin archive.
398 // True if we have included at least one object from this archive.
404 // Number of members in this archive;
406 // True if we exclude this library archive from automatic export.
408 // True if this library has been included as a --whole-archive.
412 // This class is used to read an archive and pick out the desired
422 Archive* archive, Input_group* input_group,
427 input_argument_(input_argument), archive_(archive),
461 Archive* archive_;
490 // Total number of archive members seen.
492 // Number of archive members loaded.