[qt/clang/llvm-project]: Summary of bulk changes made

KDE Git Services - Bulk Change <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git repository change summary for qt/clang/llvm-project
Pushed by mirror-service into branch 'upstream/users/dsalinas/amdgpu-llvm-objcopy'.
Changed from d111119cc00781381d5d09ba3c352351d8a8fe77 to b55886f3adfebf096b5fbbc6dae6b279f1592b15
Acknowledgement was received that this change introduces only existing code that has been pushed to another public open source repository.

This change contains the following new commits:

Git commit dd0e0238820b990fc1ad20be75302b17d8356c88 by dsalinas (on behalf of david-salinas) on 28/07/2026 at 16:45..
[AMDGPU] Add AMDGPU support for llvm-objcopy

Co-authored-by: Aakanksha Patil <[email protected]>
https://invent.kde.org/qt/clang/llvm-project/-/commit/dd0e0238820b990fc1ad20be75302b17d8356c88

Git commit 88253a44b3bad32be955615b8655f4aa3dfb66d4 by dsalinas on 28/07/2026 at 16:45..
[llvm-objcopy] Fix AMDGPU arch string in test: amdgpu not amdgcn

llvm-readobj reports 'Arch: amdgpu' for EM_AMDGPU ELF files
(the generic AMDGPU ELF format used by elf64-amdgpu). The test
was incorrectly expecting 'amdgcn', which is the AMDGCN-specific
arch string used by ROCm HSA code objects.
https://invent.kde.org/qt/clang/llvm-project/-/commit/88253a44b3bad32be955615b8655f4aa3dfb66d4

Git commit 2ddb8328f343f69ad8582fae8d684ef5f2fdc9cb by dsalinas on 28/07/2026 at 16:45..
[llvm-objcopy] Add AMDGPU case to binary-output-target.test

Add test coverage for converting binary input to elf64-amdgpu format,
verifying the output has the correct format string, arch (amdgpu),
and machine type (EM_AMDGPU 0xE0). Follows the same pattern as all
other architectures in this test file.
https://invent.kde.org/qt/clang/llvm-project/-/commit/2ddb8328f343f69ad8582fae8d684ef5f2fdc9cb

Git commit c082d45bd141a6485b6fcbdeff72fdf7d3d88bfa by dsalinas on 28/07/2026 at 16:45..
[llvm-objcopy] Fix AMDGPU arch checks in tests

ELFObjectFile.h getArch() for EM_AMDGPU returns Triple::UnknownArch
when e_flags & EF_AMDGPU_MACH is 0 (no GPU target specified). Only
when a MACH flag in the AMDGCN range is present does it return
Triple::amdgpu.

- cross-arch-headers.test: restore EF_AMDGPU_MACH_AMDGCN_GFX900 flag
  on the input ELF so that after format conversion the output correctly
  reports Arch: amdgpu.

- binary-output-target.test: expect Arch: unknown since converting
  from raw binary input (-I binary) produces an ELF with e_flags=0
  (no MACH flags), giving UnknownArch. This is correct behavior.
https://invent.kde.org/qt/clang/llvm-project/-/commit/c082d45bd141a6485b6fcbdeff72fdf7d3d88bfa

Git commit b55886f3adfebf096b5fbbc6dae6b279f1592b15 by dsalinas on 28/07/2026 at 16:50..
[llvm-objcopy] Address review feedback for AMDGPU test in cross-arch-headers

Per reviewer feedback, use the existing non-AMDGPU input (%t.o, EM_NONE)
to test conversion to elf64-amdgpu. This properly demonstrates that
--output-format changes the machine type, consistent with all other cases
in this test file.

The output reports Arch: unknown because converting from a non-AMDGPU ELF
produces e_flags=0 (no EF_AMDGPU_MACH set); added a comment explaining
this. Flag control is a separate concern for a follow-on PR.
https://invent.kde.org/qt/clang/llvm-project/-/commit/b55886f3adfebf096b5fbbc6dae6b279f1592b15
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.