summaryrefslogtreecommitdiff
path: root/lib/VMCore/LLVMContextImpl.h
diff options
context:
space:
mode:
authorJay Foad <jay.foad@gmail.com>2012-02-23 09:16:04 +0000
committerJay Foad <jay.foad@gmail.com>2012-02-23 09:16:04 +0000
commit6592eacf9006d046e8bc4999600e2973a3b56eac (patch)
treea8f2920a38d80052600147c30fb16f49e3307f1d /lib/VMCore/LLVMContextImpl.h
parent9d91c5d31c6758124559c0916d852295f47a2bec (diff)
downloadllvm-6592eacf9006d046e8bc4999600e2973a3b56eac.tar.gz
llvm-6592eacf9006d046e8bc4999600e2973a3b56eac.tar.bz2
llvm-6592eacf9006d046e8bc4999600e2973a3b56eac.tar.xz
The implementation of GeneralHash::addBits broke C++ aliasing rules; fix
it with memcpy. This also fixes a problem on big-endian hosts, where addUnaligned would return different results depending on the alignment of the data. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151247 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/LLVMContextImpl.h')
0 files changed, 0 insertions, 0 deletions