[llvm-branch-commits] [llvm] [DirectX] Add support for `remove-section` of `DXContainer` for `llvm-objcopy` (PR #153246)
James Henderson via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Aug 15 00:24:08 PDT 2025
================
@@ -12,18 +12,18 @@ Header:
Version:
Major: 1
Minor: 0
-## FileSize = 1996 - 8 (FKE0 content) - 1688 (FKE4 content)
+## FileSize = 1996 - 8 (FKE1 content) - 1688 (FKE4 content)
## - 8 (2 part offsets) - 16 (2 part headers)
## = 276
-## CHECK: FileSize: 276
+# CHECK: FileSize: 276
FileSize: 1996
-## CHECK: PartCount: 5
+# CHECK: PartCount: 5
PartCount: 7
-## CHECK: PartOffsets: [ 52, 68, 84, 212, 240 ]
+# CHECK: PartOffsets: [ 52, 68, 84, 212, 240 ]
PartOffsets: [ 60, 76, 92, 108, 236, 1932, 1960 ]
Parts:
-## CHECK-NOT: FKE1
-## CHECK-NOT: FKE4
+# CHECK-NOT: FKE1
+# CHECK-NOT: FKE4
----------------
jh7370 wrote:
Are you aware that this just means FKE1 and FKE4 can't appear from this point onwards? I'd be tempted to put a `# CHECK: Parts:` line before them, since technically the obj2yaml output order doesn't have to be fixed and this will help remove the risk of things rotting.
https://github.com/llvm/llvm-project/pull/153246
More information about the llvm-branch-commits
mailing list