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/tools/llvm-mca/Support.cpp | |
| parent | df9d59771be1fac62718023528c678bcaf7c28b4 (diff) | |
| download | bcm5719-llvm-e21cfa7e7f9851ff56f8bd4b3166618a59f31eab.tar.gz bcm5719-llvm-e21cfa7e7f9851ff56f8bd4b3166618a59f31eab.zip | |
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/tools/llvm-mca/Support.cpp')
0 files changed, 0 insertions, 0 deletions

