Skip to content
Unverified Commit d3876c58 authored by Pierre van Houtryve's avatar Pierre van Houtryve Committed by GitHub
Browse files

[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
parent acdf7c8f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment