sectionContainsSymbol needs to be based on VMA's rather than section indices to prope...
authorOwen Anderson <resistor@mac.com>
Wed, 12 Oct 2011 22:21:32 +0000 (22:21 +0000)
committerOwen Anderson <resistor@mac.com>
Wed, 12 Oct 2011 22:21:32 +0000 (22:21 +0000)
commitcd74988fb94ffc180196fed9aa2c8ee548915f86
treee2a185ca0d1f2654eebc07806609db0cd1c650b7
parent18ead6b587159993b340ad4e2e2c5fed76e978c0
sectionContainsSymbol needs to be based on VMA's rather than section indices to properly account for files with segment load commands that contain no sections.

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