diff options
author | Michael J. Spencer <bigcheesegs@gmail.com> | 2011-10-07 19:25:32 +0000 |
---|---|---|
committer | Michael J. Spencer <bigcheesegs@gmail.com> | 2011-10-07 19:25:32 +0000 |
commit | e5fd0047198cdb4139f5ddcc0da897cb26eaf3cb (patch) | |
tree | 5c0f408d3a92155305ba733f661137b5ab9408bd /llvm/lib/Object/Object.cpp | |
parent | ebe51726b8578decdf66d2dc175eefccffee4074 (diff) | |
download | bcm5719-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.cpp | 4 |
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) { |