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