Only ELF has a dynamic symbol table. Remove it from ObjectFile.
COFF has only one symbol table. MachO has a LC_DYSYMTAB, but that is not a symbol table, just extra info about the one symbol table (LC_SYMTAB). IR (coming soon) also has only one table. llvm-svn: 200488
This commit is contained in:
@@ -1192,16 +1192,6 @@ symbol_iterator MachOObjectFile::end_symbols() const {
|
||||
return symbol_iterator(SymbolRef(DRI, this));
|
||||
}
|
||||
|
||||
symbol_iterator MachOObjectFile::begin_dynamic_symbols() const {
|
||||
// TODO: implement
|
||||
report_fatal_error("Dynamic symbols unimplemented in MachOObjectFile");
|
||||
}
|
||||
|
||||
symbol_iterator MachOObjectFile::end_dynamic_symbols() const {
|
||||
// TODO: implement
|
||||
report_fatal_error("Dynamic symbols unimplemented in MachOObjectFile");
|
||||
}
|
||||
|
||||
section_iterator MachOObjectFile::begin_sections() const {
|
||||
DataRefImpl DRI;
|
||||
return section_iterator(SectionRef(DRI, this));
|
||||
|
||||
Reference in New Issue
Block a user