2013-01-09 07:43:11 +08:00
|
|
|
//===- Core/File.cpp - A Container of Atoms -------------------------------===//
|
2011-12-18 16:27:59 +08:00
|
|
|
//
|
|
|
|
// The LLVM Linker
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#include "lld/Core/File.h"
|
2012-04-04 02:39:40 +08:00
|
|
|
#include "lld/Core/LLVM.h"
|
2011-12-18 16:27:59 +08:00
|
|
|
|
|
|
|
namespace lld {
|
|
|
|
|
|
|
|
File::~File() {}
|
|
|
|
|
2012-04-04 02:39:40 +08:00
|
|
|
StringRef File::translationUnitSource() const {
|
|
|
|
return StringRef();
|
2011-12-22 07:29:36 +08:00
|
|
|
}
|
|
|
|
|
2013-01-05 10:22:35 +08:00
|
|
|
|
|
|
|
File::atom_collection_empty<DefinedAtom> File::_noDefinedAtoms;
|
|
|
|
File::atom_collection_empty<UndefinedAtom> File::_noUndefinedAtoms;
|
|
|
|
File::atom_collection_empty<SharedLibraryAtom> File::_noSharedLibaryAtoms;
|
|
|
|
File::atom_collection_empty<AbsoluteAtom> File::_noAbsoluteAtoms;
|
|
|
|
|
2013-01-24 06:32:56 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} // namespace lld
|