[all-commits] [llvm/llvm-project] 910220: Reapply: [llvm-objdump] Add support for HIP offloa...

David Salinas via All-commits all-commits at lists.llvm.org
Fri May 16 06:39:37 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 910220b84fa18ce2cbb2e21dd53b9f3d0ae582a7
      https://github.com/llvm/llvm-project/commit/910220b84fa18ce2cbb2e21dd53b9f3d0ae582a7
  Author: David Salinas <dsalinas at amd.com>
  Date:   2025-05-16 (Fri, 16 May 2025)

  Changed paths:
    M llvm/docs/CommandGuide/llvm-objdump.rst
    A llvm/include/llvm/Object/OffloadBundle.h
    M llvm/lib/Object/CMakeLists.txt
    A llvm/lib/Object/OffloadBundle.cpp
    A llvm/test/tools/llvm-objdump/Offloading/fatbin.test
    M llvm/tools/llvm-objdump/OffloadDump.cpp
    M llvm/tools/llvm-objdump/OffloadDump.h
    M llvm/tools/llvm-objdump/llvm-objdump.cpp
    M llvm/unittests/Object/CMakeLists.txt
    A llvm/unittests/Object/OffloadingBundleTest.cpp

  Log Message:
  -----------
  Reapply: [llvm-objdump] Add support for HIP offload bundles (#140128)

Utilize the new extensions to the LLVM Offloading API to extend to
llvm-objdump to handle dumping fatbin offload bundles generated by HIP.
This extension to llvm-objdump adds the option --offload-fatbin.
Specifying this option will take the input object/executable and extract
all offload fatbin bundle entries into distinct code object files with
names reflecting the source file name combined with the Bundle Entry ID.
Users can also use the --arch-name option to filter offload fatbin
bundle entries by their target triple.

---------

Co-authored-by: dsalinas <dsalinas at MKM-L1-DSALINAS.amd.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