Object: Fix type punned pointer issues by making DataRefImpl a union and using intptr_t.
authorMichael J. Spencer <bigcheesegs@gmail.com>
Fri, 21 Jan 2011 02:27:02 +0000 (02:27 +0000)
committerMichael J. Spencer <bigcheesegs@gmail.com>
Fri, 21 Jan 2011 02:27:02 +0000 (02:27 +0000)
commit7acdb4d237181976b04e72f6a6c329c3b2604440
tree35445370a1806d37b9415b998d73b5592d601438
parentbe111ef1823e58bdb0bacee22368f0d9af6fbc7d
Object: Fix type punned pointer issues by making DataRefImpl a union and using intptr_t.

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