• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //===- BSDArchiveReader.cpp -----------------------------------------------===//
2 //
3 //                     The MCLinker Project
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 #include <mcld/MC/Input.h>
10 #include <mcld/LD/BSDArchiveReader.h>
11 #include <mcld/LD/Archive.h>
12 
13 using namespace mcld;
14 
BSDArchiveReader()15 BSDArchiveReader::BSDArchiveReader()
16 {
17 }
18 
~BSDArchiveReader()19 BSDArchiveReader::~BSDArchiveReader()
20 {
21 }
22 
readArchive(const LinkerConfig & pConfig,Archive & pArchive)23 bool BSDArchiveReader::readArchive(const LinkerConfig& pConfig,
24                                    Archive& pArchive)
25 {
26   // TODO
27   return true;
28 }
29 
isMyFormat(Input & pInput,bool & pContinue) const30 bool BSDArchiveReader::isMyFormat(Input& pInput, bool &pContinue) const
31 {
32   pContinue = true;
33   // TODO
34   return false;
35 }
36 
37