aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
diff options
context:
space:
mode:
authorSnehasish Kumar <snehasishk@google.com>2022-02-17 15:14:47 -0800
committerSnehasish Kumar <snehasishk@google.com>2022-02-17 15:31:22 -0800
commitc74389b4b58d8db3f8262ce15b9d514d62fe265c (patch)
treea1121a6cfaf19ba87dd42f0fcf408053e4add844 /llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
parentc46aab01c002b7a04135b8b7f1f52d8c9ae23a58 (diff)
downloadllvm-c74389b4b58d8db3f8262ce15b9d514d62fe265c.zip
llvm-c74389b4b58d8db3f8262ce15b9d514d62fe265c.tar.gz
llvm-c74389b4b58d8db3f8262ce15b9d514d62fe265c.tar.bz2
[memprof] Fix frame deserialization on big endian systems.
We write the memprof internal call frame data in little endian format. However when reading the frame information we were casting it directly to a MemProfRecord::Frame pointer. In this change we add a separate deserialization method which uses an endian reader to read the bytes as little endian. This fixes https://lab.llvm.org/buildbot/#/builders/100/builds/12940 Differential Revision: https://reviews.llvm.org/D120093
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions