diff options
author | Pierre van Houtryve <pierre.vanhoutryve@amd.com> | 2023-11-14 07:26:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-14 07:26:09 +0100 |
commit | d3876c58a8e5d4fbd4890a671148d00da1111550 (patch) | |
tree | 10c35486994da0c5ac9fe34b09061884232ebb6a /llvm/lib/FileCheck/FileCheck.cpp | |
parent | acdf7c8f27f9ddd900aef8b9a214d89111de263f (diff) | |
download | llvm-d3876c58a8e5d4fbd4890a671148d00da1111550.zip llvm-d3876c58a8e5d4fbd4890a671148d00da1111550.tar.gz llvm-d3876c58a8e5d4fbd4890a671148d00da1111550.tar.bz2 |
[ELFDumper] Always read AMD Code Object notes as little-endian (#70775)
Should avoid issues on big-endian hosts.
Note that we use aligned types because primitive integers are also
aligned. If we don't use aligned types, `HSAILProperties` ends up being
11 bytes instead of 12 (1 byte padding at the end of the struct added by
the compiler).
Technically only the first type needs to be aligned, but I just used
aligned types everywhere to be consistent.
Fixes #65280
Diffstat (limited to 'llvm/lib/FileCheck/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions