aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/BinaryStreamError.cpp
diff options
context:
space:
mode:
authorDean Michael Berris <dberris@google.com>2018-08-31 17:06:28 +0000
committerDean Michael Berris <dberris@google.com>2018-08-31 17:06:28 +0000
commit5b7548c65307e90db7278b0251e8fef095086ad6 (patch)
tree61e2b5a20cbaccdcca7ecde95beeee0c4b0d0595 /llvm/lib/Support/BinaryStreamError.cpp
parent98717978c9336a2ea274d61219a1b5ff86d6bfb0 (diff)
downloadllvm-5b7548c65307e90db7278b0251e8fef095086ad6.zip
llvm-5b7548c65307e90db7278b0251e8fef095086ad6.tar.gz
llvm-5b7548c65307e90db7278b0251e8fef095086ad6.tar.bz2
[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. llvm-svn: 341226
Diffstat (limited to 'llvm/lib/Support/BinaryStreamError.cpp')
0 files changed, 0 insertions, 0 deletions