Object/COFF: Fix possible truncation bug.
authorRui Ueyama <ruiu@google.com>
Thu, 20 Feb 2014 19:14:56 +0000 (19:14 +0000)
committerRui Ueyama <ruiu@google.com>
Thu, 20 Feb 2014 19:14:56 +0000 (19:14 +0000)
commitf41901d32ca141550e639d875638c828d3d65466
tree81485a9b38b8d4939dbd605699c1bc9750da0958
parent3e552a331ba38481176cbec40c4eb3b35a73439e
Object/COFF: Fix possible truncation bug.

VA can be 64 bit, as the image base can be larger than 4GB, so we need to
handle 64 bit VAs properly.

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