DwarfDebug: MD5 is always little endian, bswap on big endian platforms.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sat, 27 Jul 2013 14:14:43 +0000 (14:14 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sat, 27 Jul 2013 14:14:43 +0000 (14:14 +0000)
commit409afcf174fbb503336aac450a42c8aa36aa09ce
tree6f6dd0d10a6c39b98315f771e2d1b647340c9a36
parent26ad41ed6e2e0aa0dab8b44c01487e36fb711680
DwarfDebug: MD5 is always little endian, bswap on big endian platforms.

This makes LLVM emit the same signature regardless of host and target endianess.

llvm-svn: 187304
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
llvm/test/DebugInfo/generate-odr-hash.ll [moved from llvm/test/DebugInfo/X86/generate-odr-hash.ll with 100% similarity]