commit | c4a2b8b5e4419bfdc4137accc9eadf97b90d06df | [log] [tgz] |
---|---|---|
author | Dean Michael Berris <dberris@google.com> | Fri Aug 31 17:06:28 2018 +0000 |
committer | Dean Michael Berris <dberris@google.com> | Fri Aug 31 17:06:28 2018 +0000 |
tree | 0ec56748515ef35d0ad6b02bc5572c37a8b2ec03 | |
parent | bff6dcb26b8f025859108897fa3f154d752de096 [diff] |
[XRay] Make Trace loading endian-aware This change makes the XRay Trace loading functions first use a little-endian data extractor, then on failures try a big-endian data extractor. Without this change, the trace loading facility will not work with data written from a big-endian machine. Follow-up to D51210 and D51289. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@341226 91177308-0d34-0410-b5e6-96231b3b80d8