[llvm] [DirectX] Add boilerplate integration of `objcopy` for `DXContainerObjectFile` (PR #153079)
James Henderson via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 18 01:18:53 PDT 2025
================
@@ -0,0 +1,21 @@
+//===- DXContainerConfig.h --------------------------------------*- C++ -*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_OBJCOPY_DXCONTAINER_DXCONTAINERCONFIG_H
+#define LLVM_OBJCOPY_DXCONTAINER_DXCONTAINERCONFIG_H
+
+namespace llvm {
+namespace objcopy {
+
+// DXContainer specific configuration for copying/stripping a single file.
+struct DXContainerConfig {};
----------------
jh7370 wrote:
Do you have pretty near-term plans to introduce DXContainer-specific options? If not, perhaps it's worth adding a comment to clarify why this is here. The only reason I can think of is to give something for `getDXContainerConfig` to return (and we still want that function, because it's the place to put the "not supported" errors.
https://github.com/llvm/llvm-project/pull/153079
More information about the llvm-commits
mailing list