[all-commits] [llvm/llvm-project] da5fb5: [ObjCopy][DX] Support for -dump-section flag (#159...
Chris B via All-commits
all-commits at lists.llvm.org
Tue Oct 14 07:43:01 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: da5fb5e964c213d0ec834ad0b560a523a57ce5cc
https://github.com/llvm/llvm-project/commit/da5fb5e964c213d0ec834ad0b560a523a57ce5cc
Author: Chris B <chris.bieneman at me.com>
Date: 2025-10-14 (Tue, 14 Oct 2025)
Changed paths:
M llvm/lib/ObjCopy/ConfigManager.cpp
M llvm/lib/ObjCopy/DXContainer/DXContainerObjcopy.cpp
A llvm/test/tools/llvm-objcopy/DXContainer/dump-section-errors.yaml
A llvm/test/tools/llvm-objcopy/DXContainer/dump-section.yaml
Log Message:
-----------
[ObjCopy][DX] Support for -dump-section flag (#159999)
This adds support for the `-dump-section=<section>=<file>` flag for the
DXContainer file format. This flag dumps the contents of a named section
to the specified file.
This flag is particularly handy for ripping DXIL bitcode out of the
object files so that we can use LLVM tools to inspect and operate on the
bitcode. To facilitate that workflow this flag also strips the program
headers from parts containing DXIL so that the resulting file is a valid
bitcode file.
---------
Co-authored-by: Justin Bogner <mail at justinbogner.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