aboutsummaryrefslogtreecommitdiff
path: root/lib/Object/Object.cpp
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2011-10-07 18:15:25 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2011-10-07 18:15:25 +0000
commitf1164a2487750f891694fc2e3347860e50f705fb (patch)
tree5d899fbf0e0a465a57c019d659046c4d334d5968 /lib/Object/Object.cpp
parentb76761351f36ce0a68762ba800dd88f6ecd4bccb (diff)
Change relocation API to be per section.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141376 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Object/Object.cpp')
-rw-r--r--lib/Object/Object.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Object/Object.cpp b/lib/Object/Object.cpp
index 9a373ad21b..2ea8db9786 100644
--- a/lib/Object/Object.cpp
+++ b/lib/Object/Object.cpp
@@ -27,8 +27,8 @@ void LLVMDisposeObjectFile(LLVMObjectFileRef ObjectFile) {
}
LLVMSectionIteratorRef LLVMGetSections(LLVMObjectFileRef ObjectFile) {
- ObjectFile::section_iterator SI = unwrap(ObjectFile)->begin_sections();
- return wrap(new ObjectFile::section_iterator(SI));
+ section_iterator SI = unwrap(ObjectFile)->begin_sections();
+ return wrap(new section_iterator(SI));
}
void LLVMDisposeSectionIterator(LLVMSectionIteratorRef SI) {