summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Twine.cpp
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
commit5f77851a99e51803c00f230e9a9232e4c8469ebe (patch)
tree0e820cbd485901b00fb838bc366216dfa78bcb09 /llvm/lib/Support/Twine.cpp
parent243582995a9eefa909972b0747c204320332fab8 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud