diff options
| author | Dean Michael Berris <dberris@google.com> | 2018-08-31 18:36:58 +0000 |
|---|---|---|
| committer | Dean Michael Berris <dberris@google.com> | 2018-08-31 18:36:58 +0000 |
| commit | 3fc4cbfe1060c9e12183ac67cd426760c4436291 (patch) | |
| tree | f12a742e4511e689926150b89cbd4c7de298cf8a /llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp | |
| parent | 332447f4b45f48d1ce5c4ecc25504cdfadfd2ce2 (diff) | |
| download | bcm5719-llvm-3fc4cbfe1060c9e12183ac67cd426760c4436291.tar.gz bcm5719-llvm-3fc4cbfe1060c9e12183ac67cd426760c4436291.zip | |
[XRay] Change function record reader to be endian-aware
This change allows us to let the compiler do the right thing for when
handling big-endian and little-endian records for FDR mode function
records.
Previously, we assumed that the encoding was little-endian that reading
the first byte to look for the function id and function record types was
ordered in a little-endian manner. This change allows us to better
handle function records where the first four bytes may actually be
encoded in big-endian thus giving us the wrong bytes where we're seeking
the function information from.
This is a follow-up to D51210 and D51289.
llvm-svn: 341236
Diffstat (limited to 'llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions

