Use a pointer as the relocation iterator.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 24 Apr 2013 15:02:03 +0000 (15:02 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 24 Apr 2013 15:02:03 +0000 (15:02 +0000)
commit709d2fdb11a623ab2dd3b0a3754d09ad0f91b7e2
tree423ea1be2cc08a596b80ce44007b3368b7568a08
parentfa2d2b199f4551357c1696a9b49321cf03d8753d
Use a pointer as the relocation iterator.

Since the relocation iterator walks only the relocations in one section, we
can just use a pointer and avoid fetching information about the section at
every reference.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180189 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Object/MachOObjectFile.cpp