diff options
author | Pavel Labath <pavel@labath.sk> | 2019-04-05 08:43:54 +0000 |
---|---|---|
committer | Pavel Labath <pavel@labath.sk> | 2019-04-05 08:43:54 +0000 |
commit | ebdc698dbc00ee9c48d2c022bf2a7c828f696674 (patch) | |
tree | 6444ff97dab1a4e9e88f07abbe19b0f3a58b0eee /llvm/lib/DebugInfo/Symbolize/SymbolizableObjectFile.cpp | |
parent | 92db30fc004b941cbabec52c0c8f5e3dcb953902 (diff) | |
download | llvm-ebdc698dbc00ee9c48d2c022bf2a7c828f696674.zip llvm-ebdc698dbc00ee9c48d2c022bf2a7c828f696674.tar.gz llvm-ebdc698dbc00ee9c48d2c022bf2a7c828f696674.tar.bz2 |
Fix r357749 for big-endian architectures
We need to read the strings from the minidump files as little-endian,
regardless of the host byte order.
I definitely remember thinking about this case while writing the patch
(and in fact, I have implemented that for the "write" case), but somehow
I have ended up not implementing the byte swapping when reading the
data. This adds the necessary byte-swapping and should hopefully fix
test failures on big-endian bots.
llvm-svn: 357754
Diffstat (limited to 'llvm/lib/DebugInfo/Symbolize/SymbolizableObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions