[llvm-branch-commits] [llvm] [DirectX] Add `split-section` to `llvm-objcopy` and implement it for `DXContainer` (PR #153265)

Helena Kotas via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Aug 13 15:42:09 PDT 2025


================
@@ -126,12 +126,11 @@ ConfigManager::getDXContainerConfig() const {
       Common.GapFill != 0 || Common.PadTo != 0 ||
       Common.ChangeSectionLMAValAll != 0 ||
       !Common.ChangeSectionAddress.empty()) {
-    return createStringError(
-        llvm::errc::invalid_argument,
-        "no flags are supported yet, only basic copying is allowed");
+    return createStringError(llvm::errc::invalid_argument,
+                             "option is not supported for directx");
----------------
hekota wrote:

```suggestion
                             "option is not supported for DirectX");
```

https://github.com/llvm/llvm-project/pull/153265


More information about the llvm-branch-commits mailing list