Add ObjectFile::getLoadName() for retrieving the soname/installname of a shared object.

llvm-svn: 151845
This commit is contained in:
David Meyer
2012-03-01 22:19:54 +00:00
parent f0269b4270
commit c429b80da1
8 changed files with 77 additions and 1 deletions

View File

@@ -525,6 +525,12 @@ library_iterator COFFObjectFile::end_libraries_needed() const {
report_fatal_error("Libraries needed unimplemented in COFFObjectFile");
}
StringRef COFFObjectFile::getLoadName() const {
// COFF does not have this field.
return "";
}
section_iterator COFFObjectFile::begin_sections() const {
DataRefImpl ret;
std::memset(&ret, 0, sizeof(DataRefImpl));