[clang] [llvm] [Object] Fix offload bundle decompression on big endian (PR #205822)

David Salinas via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 25 08:00:32 PDT 2026


david-salinas wrote:

> I thought this is why we generated tests via `yaml2obj` instead of shipping static objects. These bundles are generally expected to be tied to the machine's endianness, since they get embedded in ELF files and similar. Long term I wish we could delete the offload binary format entirely.

Well we "kind of" do use yaml2obj for that test, but there really isn't any support (currently) in yaml2obj to generate the fatbin offload section properly.

https://github.com/llvm/llvm-project/pull/205822


More information about the cfe-commits mailing list