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

llvm-svn: 215219
This commit is contained in:
Rafael Espindola
2014-08-08 16:39:22 +00:00
parent 72318b47fc
commit 676223170f
7 changed files with 14 additions and 20 deletions

View File

@@ -1410,11 +1410,6 @@ unsigned MachOObjectFile::getArch() const {
return getArch(getCPUType(this));
}
StringRef MachOObjectFile::getLoadName() const {
// TODO: Implement
report_fatal_error("get_load_name() unimplemented in MachOObjectFile");
}
relocation_iterator MachOObjectFile::section_rel_begin(unsigned Index) const {
DataRefImpl DRI;
DRI.d.a = Index;