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
51 lines
2.3 KiB
LLVM
51 lines
2.3 KiB
LLVM
; XFAIL: target={{.*}}-aix{{.*}}
|
|
; RUN: %llc_dwarf -accel-tables=Apple -filetype=obj -o %t < %s
|
|
; RUN: llvm-dwarfdump -apple-names %t | FileCheck %s --check-prefix=NUM_HASHES
|
|
; RUN: llvm-dwarfdump --find=bb --find=cA %t | FileCheck %s --check-prefix=FOUND_VARS
|
|
; RUN: llvm-dwarfdump --find-all-apple %t | FileCheck %s --check-prefix=ALL_ENTRIES
|
|
|
|
|
|
; The strings 'bb' and 'cA' hash to the same value under the Apple accelerator
|
|
; table hashing algorithm.
|
|
; We first test that there is exactly one bucket and one hash.
|
|
; Then we check that both values are found.
|
|
|
|
; NUM_HASHES: Bucket count: 2
|
|
; NUM_HASHES-NEXT: Hashes count: 2
|
|
; FOUND_VARS: DW_AT_name ("bb")
|
|
; FOUND_VARS: DW_AT_name ("cA")
|
|
|
|
; ALL_ENTRIES: Apple accelerator entries with name = "bb":
|
|
; ALL_ENTRIES: DW_AT_name ("bb")
|
|
; ALL_ENTRIES: Apple accelerator entries with name = "cA":
|
|
; ALL_ENTRIES: DW_AT_name ("cA")
|
|
; ALL_ENTRIES: Apple accelerator entries with name = "some_other_hash":
|
|
; ALL_ENTRIES: DW_AT_name ("some_other_hash")
|
|
; ALL_ENTRIES: Apple accelerator entries with name = "int":
|
|
; ALL_ENTRIES: DW_AT_name ("int")
|
|
|
|
@bb = global i32 200, align 4, !dbg !0
|
|
@cA = global i32 10, align 4, !dbg !5
|
|
@some_other_hash = global i32 10, !dbg !17
|
|
|
|
!llvm.module.flags = !{!9, !10, !11, !12, !13}
|
|
!llvm.dbg.cu = !{!2}
|
|
!llvm.ident = !{!15}
|
|
|
|
!0 = !DIGlobalVariableExpression(var: !1, expr: !DIExpression())
|
|
!1 = distinct !DIGlobalVariable(name: "bb", scope: !2, file: !3, line: 1, type: !7, isDefinition: true)
|
|
!2 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus_14, file: !3, producer: "", emissionKind: FullDebug, globals: !4)
|
|
!3 = !DIFile(filename: "test.cpp", directory: "blah")
|
|
!4 = !{!0, !5, !17}
|
|
!5 = !DIGlobalVariableExpression(var: !6, expr: !DIExpression())
|
|
!6 = distinct !DIGlobalVariable(name: "cA", scope: !2, file: !3, line: 2, type: !7, isLocal: false, isDefinition: true)
|
|
!7 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed)
|
|
!9 = !{i32 7, !"Dwarf Version", i32 4}
|
|
!10 = !{i32 2, !"Debug Info Version", i32 3}
|
|
!11 = !{i32 1, !"wchar_size", i32 4}
|
|
!12 = !{i32 8, !"PIC Level", i32 2}
|
|
!13 = !{i32 7, !"uwtable", i32 1}
|
|
!15 = !{!"blah"}
|
|
!16 = distinct !DIGlobalVariable(name: "some_other_hash", scope: !2, file: !3, line: 2, type: !7, isLocal: false, isDefinition: true)
|
|
!17 = !DIGlobalVariableExpression(var: !16, expr: !DIExpression())
|