getLoadName is only implemented for ELF, make it ELF only.
llvm-svn: 215219
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user