forked from OSchip/llvm-project
parent
76803bd384
commit
930bc70b75
|
@ -39,7 +39,7 @@ class LinkingContext;
|
||||||
/// are destroyed when the File object is destroyed.
|
/// are destroyed when the File object is destroyed.
|
||||||
class File {
|
class File {
|
||||||
public:
|
public:
|
||||||
virtual ~File();
|
virtual ~File() {}
|
||||||
|
|
||||||
/// \brief Kinds of files that are supported.
|
/// \brief Kinds of files that are supported.
|
||||||
enum Kind {
|
enum Kind {
|
||||||
|
@ -59,12 +59,6 @@ public:
|
||||||
return _path;
|
return _path;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// \brief Returns the path of the source file used to create the object
|
|
||||||
/// file which this (File) object represents. This information is usually
|
|
||||||
/// parsed out of the DWARF debug information. If the source file cannot
|
|
||||||
/// be ascertained, this method returns the empty string.
|
|
||||||
virtual StringRef translationUnitSource() const;
|
|
||||||
|
|
||||||
/// Returns the command line order of the file.
|
/// Returns the command line order of the file.
|
||||||
uint64_t ordinal() const {
|
uint64_t ordinal() const {
|
||||||
assert(_ordinal != UINT64_MAX);
|
assert(_ordinal != UINT64_MAX);
|
||||||
|
|
|
@ -12,12 +12,6 @@
|
||||||
|
|
||||||
namespace lld {
|
namespace lld {
|
||||||
|
|
||||||
File::~File() {}
|
|
||||||
|
|
||||||
StringRef File::translationUnitSource() const {
|
|
||||||
return StringRef();
|
|
||||||
}
|
|
||||||
|
|
||||||
File::atom_collection_empty<DefinedAtom> File::_noDefinedAtoms;
|
File::atom_collection_empty<DefinedAtom> File::_noDefinedAtoms;
|
||||||
File::atom_collection_empty<UndefinedAtom> File::_noUndefinedAtoms;
|
File::atom_collection_empty<UndefinedAtom> File::_noUndefinedAtoms;
|
||||||
File::atom_collection_empty<SharedLibraryAtom> File::_noSharedLibraryAtoms;
|
File::atom_collection_empty<SharedLibraryAtom> File::_noSharedLibraryAtoms;
|
||||||
|
|
Loading…
Reference in New Issue