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
78 lines
2.4 KiB
Plaintext
78 lines
2.4 KiB
Plaintext
RUN: llvm-dwarfdump -v %p/Inputs/dwarfdump-objc.x86_64.o | FileCheck %s
|
|
RUN: not llvm-dwarfdump -error-display=details -verify %p/Inputs/dwarfdump-objc.x86_64.o | FileCheck %s --check-prefix=VERIFY
|
|
|
|
Gather some DIE indexes to verify the accelerator table contents.
|
|
CHECK: .debug_info contents
|
|
CHECK: [[TESTINTERFACE:0x[0-9a-f]*]]:{{.*}}DW_TAG_structure_type
|
|
CHECK-NOT: DW_TAG
|
|
CHECK: DW_AT_name{{.*}}"TestInterface"
|
|
CHECK: [[READONLY:0x[0-9a-f]*]]:{{.*}}DW_TAG_subprogram
|
|
CHECK-NOT: DW_TAG
|
|
CHECK: DW_AT_name{{.*}}"-[TestInterface ReadOnly]"
|
|
CHECK: [[ASSIGN:0x[0-9a-f]*]]:{{.*}}DW_TAG_subprogram
|
|
CHECK-NOT: DW_TAG
|
|
CHECK: DW_AT_name{{.*}}"-[TestInterface Assign]"
|
|
CHECK: [[SETASSIGN:0x[0-9a-f]*]]:{{.*}}DW_TAG_subprogram
|
|
CHECK-NOT: DW_TAG
|
|
CHECK: DW_AT_name{{.*}}"-[TestInterface setAssign:]"
|
|
|
|
|
|
Check that the section header is printed correclty.
|
|
CHECK: .apple_names contents:
|
|
CHECK: Magic: 0x48415348
|
|
CHECK: Version: 0x1
|
|
CHECK: Hash function: 0x0
|
|
CHECK: Bucket count: 21
|
|
CHECK: Hashes count: 42
|
|
CHECK: HeaderData length: 12
|
|
CHECK: DIE offset base: 0
|
|
CHECK: Number of atoms: 1
|
|
|
|
CHECK: Atom 0 {
|
|
CHECK-NEXT: Type: DW_ATOM_die_offset
|
|
CHECK-NEXT: Form: DW_FORM_data4
|
|
|
|
Check that the accelerators point to the right DIEs.
|
|
CHECK: String:{{.*}}"-[TestInterface ReadOnly]"
|
|
CHECK-NOT: String
|
|
CHECK: Atom[0]: [[READONLY]]
|
|
|
|
Check that empty buckets are handled correctly.
|
|
CHECK: Bucket 3
|
|
CHECK: EMPTY
|
|
CHECK: Bucket 4
|
|
|
|
Check that the accelerators point to the right DIEs.
|
|
CHECK: String:{{.*}}"-[TestInterface Assign]"
|
|
CHECK-NOT: String
|
|
CHECK: Atom[0]: [[ASSIGN]]
|
|
CHECK: String:{{.*}}"-[TestInterface setAssign:]"
|
|
CHECK-NOT: String
|
|
CHECK: Atom[0]: [[SETASSIGN]]
|
|
|
|
Check that types are referenced correctly.
|
|
CHECK: .apple_types contents:
|
|
CHECK: String:{{.*}}"TestInterface"
|
|
CHECK-NOT: String
|
|
CHECK: Atom[0]: [[TESTINTERFACE]]
|
|
|
|
Check that an empty accelerator section is handled correctly.
|
|
CHECK: .apple_namespaces contents:
|
|
CHECK-NOT: Magic
|
|
|
|
Check ObjC specific accelerators.
|
|
CHECK: .apple_objc contents:
|
|
CHECK: String{{.*}}"TestInterface"
|
|
CHECK-NOT: String
|
|
CHECK: Atom[0]: [[READONLY]]
|
|
CHECK: Atom[0]: [[ASSIGN]]
|
|
CHECK: Atom[0]: [[SETASSIGN]]
|
|
|
|
Verify the debug info in the apple_names accelerator table.
|
|
VERIFY: Verifying .apple_names...
|
|
VERIFY-NEXT: Verifying .apple_types...
|
|
VERIFY-NEXT: Verifying .apple_namespaces...
|
|
VERIFY-NEXT: error: Section too small: cannot read buckets and hashes.
|
|
VERIFY-NEXT: Verifying .apple_objc...
|
|
VERIFY-NEXT: Errors detected.
|