summaryrefslogtreecommitdiff
path: root/lib/Object/COFFObjectFile.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/COFFObjectFile.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/COFFObjectFile.cpp')
-rw-r--r--lib/Object/COFFObjectFile.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Object/COFFObjectFile.cpp b/lib/Object/COFFObjectFile.cpp
index 393c574d53..a3fdd5bb6a 100644
--- a/lib/Object/COFFObjectFile.cpp
+++ b/lib/Object/COFFObjectFile.cpp
@@ -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));