diff options
| author | Chris B <chris.bieneman@me.com> | 2025-10-14 09:42:40 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-14 09:42:40 -0500 |
| commit | da5fb5e964c213d0ec834ad0b560a523a57ce5cc (patch) | |
| tree | 75a5548c8e663e6cee824378cbcb184f3828f087 /llvm/lib/Object/SymbolicFile.cpp | |
| parent | eb76690ea17d7c03b5893a68e306760a79743dac (diff) | |
| download | llvm-da5fb5e964c213d0ec834ad0b560a523a57ce5cc.zip llvm-da5fb5e964c213d0ec834ad0b560a523a57ce5cc.tar.gz llvm-da5fb5e964c213d0ec834ad0b560a523a57ce5cc.tar.bz2 | |
[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@justinbogner.com>
Diffstat (limited to 'llvm/lib/Object/SymbolicFile.cpp')
0 files changed, 0 insertions, 0 deletions
