summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/Object.cpp
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2011-10-07 19:25:32 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2011-10-07 19:25:32 +0000
commite5fd0047198cdb4139f5ddcc0da897cb26eaf3cb (patch)
tree5c0f408d3a92155305ba733f661137b5ab9408bd /llvm/lib/Object/Object.cpp
parentebe51726b8578decdf66d2dc175eefccffee4074 (diff)
downloadbcm5719-llvm-e5fd0047198cdb4139f5ddcc0da897cb26eaf3cb.tar.gz
bcm5719-llvm-e5fd0047198cdb4139f5ddcc0da897cb26eaf3cb.zip
Change relocation API to be per section. This time without breaking GCC.
llvm-svn: 141385
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