[all-commits] [llvm/llvm-project] 74a4d8: [HLSL][DirectX] Add the Qdx-rootsignature-strip dr...
Finn Plummer via All-commits
all-commits at lists.llvm.org
Tue Aug 26 09:56:42 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 74a4d815dc53d583053c30edd0ac2a91e9c90b1b
https://github.com/llvm/llvm-project/commit/74a4d815dc53d583053c30edd0ac2a91e9c90b1b
Author: Finn Plummer <mail at inbelic.dev>
Date: 2025-08-26 (Tue, 26 Aug 2025)
Changed paths:
M clang/include/clang/Driver/Action.h
M clang/include/clang/Driver/Options.td
M clang/lib/Driver/Action.cpp
M clang/lib/Driver/Driver.cpp
M clang/lib/Driver/ToolChain.cpp
M clang/lib/Driver/ToolChains/HLSL.cpp
M clang/lib/Driver/ToolChains/HLSL.h
A clang/test/Driver/dxc_strip_rootsignature.hlsl
Log Message:
-----------
[HLSL][DirectX] Add the Qdx-rootsignature-strip driver option (#154454)
This pr adds the `Qstrip-rootsignature` as a `DXC` driver option.
To do so, this pr introduces the `BinaryModifyJobClass` as an `Action`
to modify a produced object file before its final output.
Further, it registers `llvm-objcopy` as the tool to modify a produced
`DXContainer` on the `HLSL` toolchain.
This allows us to specify the `Qstrip-rootsignature` option to
`clang-dxc` which will invoke `llvm-objcopy` with a
`--remove-section=RTS0` argument to implement its functionality.
Resolves: https://github.com/llvm/llvm-project/issues/150275.
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