Use getValue instead of getAddress in a few MachO only cases.
authorRafael Espindola <rafael.espindola@gmail.com>
Fri, 3 Jul 2015 17:44:18 +0000 (17:44 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Fri, 3 Jul 2015 17:44:18 +0000 (17:44 +0000)
commite235dc4936fce732299d07dda2d840a3cc0e87c2
treed450e817925f99dbc8dcb7d8878eebf40ca15caf
parenta89ad42b367c037cd894d553e85f442f4132d5ef
Use getValue instead of getAddress in a few MachO only cases.

In MachO the value of the symbol is always the address, so we can use the
simpler function.

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