diff options
author | Jay Foad <jay.foad@gmail.com> | 2012-02-23 09:16:04 +0000 |
---|---|---|
committer | Jay Foad <jay.foad@gmail.com> | 2012-02-23 09:16:04 +0000 |
commit | 5f77851a99e51803c00f230e9a9232e4c8469ebe (patch) | |
tree | 0e820cbd485901b00fb838bc366216dfa78bcb09 /llvm/lib/Support/Twine.cpp | |
parent | 243582995a9eefa909972b0747c204320332fab8 (diff) | |
download | bcm5719-llvm-5f77851a99e51803c00f230e9a9232e4c8469ebe.tar.gz bcm5719-llvm-5f77851a99e51803c00f230e9a9232e4c8469ebe.zip |
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.
llvm-svn: 151247
Diffstat (limited to 'llvm/lib/Support/Twine.cpp')
0 files changed, 0 insertions, 0 deletions