Use a pointer as the relocation iterator.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 25 Apr 2013 12:45:46 +0000 (12:45 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 25 Apr 2013 12:45:46 +0000 (12:45 +0000)
commite5330f77cf420d71cfd46c960387eb06edeccbf8
tree375dbf2ce5be22a242de902811ba42d20288fa0f
parent956ca7265c697107708468b7e1b2fd21f4185bae
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@180262 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Object/MachOObjectFile.cpp