[all-commits] [llvm/llvm-project] 9d751a: [llvm][Object] Add COFF support to extractOffloadB...

David Salinas via All-commits all-commits at lists.llvm.org
Tue May 26 12:47:12 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9d751a2985c1f2ef061f7f9f53d44676d1287883
      https://github.com/llvm/llvm-project/commit/9d751a2985c1f2ef061f7f9f53d44676d1287883
  Author: David Salinas <dsalinas at amd.com>
  Date:   2026-05-26 (Tue, 26 May 2026)

  Changed paths:
    M llvm/lib/Object/OffloadBundle.cpp
    A llvm/test/tools/llvm-objdump/Offloading/fatbin-coff-compress.test
    A llvm/test/tools/llvm-objdump/Offloading/fatbin-coff.test
    A llvm/test/tools/llvm-readobj/COFF/AMDGPU/offloading.test

  Log Message:
  -----------
  [llvm][Object] Add COFF support to extractOffloadBundleFatBinary (#199574)

Use PointerToRawData from the COFF section header to compute the section
offset, replacing the previous stub that returned an error for all COFF
object files.

This enables llvm-objdump --offloading and llvm-readobj --offloading to
work on COFF fatbins produced by HIP on Windows.

---------

Co-authored-by: James Henderson <James.Henderson at sony.com>
Co-authored-by: Matt Arsenault <arsenm2 at gmail.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list