You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
893 B
35 lines
893 B
7 months ago
|
//===- BSDArchiveReader.h -------------------------------------------------===//
|
||
|
//
|
||
|
// The MCLinker Project
|
||
|
//
|
||
|
// This file is distributed under the University of Illinois Open Source
|
||
|
// License. See LICENSE.TXT for details.
|
||
|
//
|
||
|
//===----------------------------------------------------------------------===//
|
||
|
#ifndef MCLD_LD_BSDARCHIVEREADER_H_
|
||
|
#define MCLD_LD_BSDARCHIVEREADER_H_
|
||
|
#include "mcld/LD/ArchiveReader.h"
|
||
|
|
||
|
namespace mcld {
|
||
|
|
||
|
class Archive;
|
||
|
class Input;
|
||
|
class LinkerConfig;
|
||
|
|
||
|
/** \class BSDArchiveReader
|
||
|
* \brief BSDArchiveReader reads BSD-variant archive files.
|
||
|
*
|
||
|
*/
|
||
|
class BSDArchiveReader : public ArchiveReader {
|
||
|
public:
|
||
|
BSDArchiveReader();
|
||
|
~BSDArchiveReader();
|
||
|
|
||
|
bool readArchive(const LinkerConfig& pConfig, Archive& pArchive);
|
||
|
bool isMyFormat(Input& pInput, bool& pContinue) const;
|
||
|
};
|
||
|
|
||
|
} // namespace mcld
|
||
|
|
||
|
#endif // MCLD_LD_BSDARCHIVEREADER_H_
|