Object, COFF: Fix some theoretical bugs
authorDavid Majnemer <david.majnemer@gmail.com>
Thu, 13 Nov 2014 07:42:07 +0000 (07:42 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Thu, 13 Nov 2014 07:42:07 +0000 (07:42 +0000)
commit465237b45342386c6f41f052e47ff820173e734e
treeef7ae7b183d530ab065c2e760510ea3933de170b
parent7daa54341317c0298eefcf01e0c5a77b01f4cd05
Object, COFF: Fix some theoretical bugs

getObject didn't consider the case where a pointer came before the start
of the object file.  No test is included, trying to come up with
something reasonable.

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