summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitb0d61540cbf72a6a32d456179fbcf5c66b85043f (patch)
treef0c69c141e3a07bb3078cba0901b6734e860987b /llvm/lib/Object/Object.cpp
parentde4b919d27137ec15923fcefb3975564158a3065 (diff)
downloadbcm5719-llvm-b0d61540cbf72a6a32d456179fbcf5c66b85043f.tar.gz
bcm5719-llvm-b0d61540cbf72a6a32d456179fbcf5c66b85043f.zip
Change relocation API to be per section.
llvm-svn: 141376
Diffstat (limited to 'llvm/lib/Object/Object.cpp')
-rw-r--r--llvm/lib/Object/Object.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Object/Object.cpp b/llvm/lib/Object/Object.cpp
index 9a373ad21bd..2ea8db97867 100644
--- a/llvm/lib/Object/Object.cpp
+++ b/llvm/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) {
OpenPOWER on IntegriCloud