diff options
author | Marco Castelluccio <mcastelluccio@mozilla.com> | 2018-07-11 09:30:25 +0000 |
---|---|---|
committer | Marco Castelluccio <mcastelluccio@mozilla.com> | 2018-07-11 09:30:25 +0000 |
commit | e21cfa7e7f9851ff56f8bd4b3166618a59f31eab (patch) | |
tree | 8aa8dcb6f0e4b8e12c90d3f87b2e00d1d0193a21 /llvm/lib/Object/MachOObjectFile.cpp | |
parent | df9d59771be1fac62718023528c678bcaf7c28b4 (diff) | |
download | llvm-e21cfa7e7f9851ff56f8bd4b3166618a59f31eab.zip llvm-e21cfa7e7f9851ff56f8bd4b3166618a59f31eab.tar.gz llvm-e21cfa7e7f9851ff56f8bd4b3166618a59f31eab.tar.bz2 |
Fix reading 32 bit gcov tag values on little-endian machines
Summary:
The write buffer contains signed chars, which means the shift operations caused values such as the arc tag value (0x01a10000) to be read incorrectly (0xffa10000).
This fixes a regression from https://reviews.llvm.org/D49132.
Reviewers: uweigand, davidxl
Reviewed By: uweigand
Subscribers: llvm-commits, #sanitizers
Differential Revision: https://reviews.llvm.org/D49161
llvm-svn: 336775
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions