Files
TheRock/compiler/amd-llvm/llvm/test/tools/llvm-readobj/COFF/debug-directory-unmapped.test
T
derek.holloway 7502bf64a4
CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
Flatten subprojects into a single base monorepo
2026-09-02 16:34:47 -07:00

71 lines
2.2 KiB
Plaintext

## Test that printing debug directories that aren't part of the runtime
## mapped sections doesn't fail. Currently llvm-readobj only prints the
## entry itself and not the payload. Note that there isn't currently any
## meaningful data in this test input where it claims the debug entry
## payload is.
# RUN: yaml2obj %s -o %t.exe
# RUN: llvm-readobj --coff-debug-directory %t.exe | FileCheck %s
# CHECK: DebugDirectory [
# CHECK-NEXT: DebugEntry {
# CHECK-NEXT: Characteristics: 0x0
# CHECK-NEXT: TimeDateStamp: 2019-01-17 21:06:10 (0x5C40EE42)
# CHECK-NEXT: MajorVersion: 0x0
# CHECK-NEXT: MinorVersion: 0x0
# CHECK-NEXT: Type: CodeView (0x2)
# CHECK-NEXT: SizeOfData: 0x19
# CHECK-NEXT: AddressOfRawData: 0x0
# CHECK-NEXT: PointerToRawData: 0x3E4
# CHECK-NEXT: }
# CHECK-NEXT: DebugEntry {
# CHECK-NEXT: Characteristics: 0x0
# CHECK-NEXT: TimeDateStamp: 2019-01-17 21:06:10 (0x5C40EE42)
# CHECK-NEXT: MajorVersion: 0x0
# CHECK-NEXT: MinorVersion: 0x0
# CHECK-NEXT: Type: ExtendedDLLCharacteristics (0x14)
# CHECK-NEXT: SizeOfData: 0x4
# CHECK-NEXT: AddressOfRawData: 0x0
# CHECK-NEXT: PointerToRawData: 0x3E0
# CHECK-NEXT: }
# CHECK-NEXT: ]
--- !COFF
OptionalHeader:
AddressOfEntryPoint: 4096
ImageBase: 1073741824
SectionAlignment: 4096
FileAlignment: 512
MajorOperatingSystemVersion: 6
MinorOperatingSystemVersion: 0
MajorImageVersion: 0
MinorImageVersion: 0
MajorSubsystemVersion: 6
MinorSubsystemVersion: 0
Subsystem: IMAGE_SUBSYSTEM_WINDOWS_CUI
DLLCharacteristics: [ ]
SizeOfStackReserve: 1048576
SizeOfStackCommit: 4096
SizeOfHeapReserve: 1048576
SizeOfHeapCommit: 4096
Debug:
RelativeVirtualAddress: 8192
Size: 56
header:
Machine: IMAGE_FILE_MACHINE_AMD64
Characteristics: [ ]
sections:
- Name: .text
Characteristics: [ ]
VirtualAddress: 4096
VirtualSize: 16
SectionData: C3909090909090909090909090909090
- Name: .buildid
Characteristics: [ ]
VirtualAddress: 8192
VirtualSize: 56
SectionData: 0000000042EE405C00000000020000001900000000000000E40300000000000042EE405C00000000140000000400000000000000E0030000
symbols:
...