getLoadName is only implemented for ELF, make it ELF only.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215219 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola
2014-08-08 16:39:22 +00:00
parent 015f57679d
commit 0bd9423c27
7 changed files with 14 additions and 20 deletions

View File

@@ -620,11 +620,6 @@ library_iterator COFFObjectFile::needed_library_end() const {
report_fatal_error("Libraries needed unimplemented in COFFObjectFile");
}
StringRef COFFObjectFile::getLoadName() const {
// COFF does not have this field.
return "";
}
import_directory_iterator COFFObjectFile::import_directory_begin() const {
return import_directory_iterator(
ImportDirectoryEntryRef(ImportDirectory, 0, this));