summaryrefslogtreecommitdiff
path: root/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorDavid Meyer <pdox@google.com>2012-03-01 22:19:54 +0000
committerDavid Meyer <pdox@google.com>2012-03-01 22:19:54 +0000
commit97f7787bfb56ad31fe20ec0bb9c3c9f3253d14fb (patch)
tree6a3c615a02060ec4f77b81f1ca36800c97f6b2d8 /lib/Object/MachOObjectFile.cpp
parentb0578512c79134136e8b53c62a8677ab8e600be2 (diff)
downloadllvm-97f7787bfb56ad31fe20ec0bb9c3c9f3253d14fb.tar.gz
llvm-97f7787bfb56ad31fe20ec0bb9c3c9f3253d14fb.tar.bz2
llvm-97f7787bfb56ad31fe20ec0bb9c3c9f3253d14fb.tar.xz
[Object]
Add ObjectFile::getLoadName() for retrieving the soname/installname of a shared object. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151845 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Object/MachOObjectFile.cpp')
-rw-r--r--lib/Object/MachOObjectFile.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Object/MachOObjectFile.cpp b/lib/Object/MachOObjectFile.cpp
index 360ab1676c..655c40aeda 100644
--- a/lib/Object/MachOObjectFile.cpp
+++ b/lib/Object/MachOObjectFile.cpp
@@ -387,6 +387,11 @@ library_iterator MachOObjectFile::end_libraries_needed() const {
report_fatal_error("Needed libraries unimplemented in MachOObjectFile");
}
+StringRef MachOObjectFile::getLoadName() const {
+ // TODO: Implement
+ report_fatal_error("get_load_name() unimplemented in MachOObjectFile");
+}
+
/*===-- Sections ----------------------------------------------------------===*/
void MachOObjectFile::moveToNextSection(DataRefImpl &DRI) const {