Don't use DataRefImpl to implement ImportDirectoryEntryRef.
authorRui Ueyama <ruiu@google.com>
Thu, 16 Jan 2014 03:13:19 +0000 (03:13 +0000)
committerRui Ueyama <ruiu@google.com>
Thu, 16 Jan 2014 03:13:19 +0000 (03:13 +0000)
commit6a8151dba16a2315e1b2a7daf27ff454c26d0ad5
treeefb2c9aea692aa1dd4ce36159815c6c7a4cb14b0
parent2666b15908125479cea95066593873168127be72
Don't use DataRefImpl to implement ImportDirectoryEntryRef.

DataRefImpl (a union of two integers and a pointer) is not the ideal data type
to represent a reference to an import directory entity. We should just use the
pointer to the import table and an offset instead to simplify. No functionality
change.

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