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
79 lines
3.3 KiB
LLVM
79 lines
3.3 KiB
LLVM
; Verify the emission of accelerator tables for various targets for the DWARF<=4 case
|
|
|
|
; Darwin has the apple tables unless we specifically tune for gdb
|
|
; RUN: llc -mtriple=x86_64-apple-darwin12 -filetype=obj < %s > %t
|
|
; RUN: llvm-readobj --sections %t | FileCheck --check-prefix=APPLE %s
|
|
; RUN: llvm-dwarfdump -apple-names %t | FileCheck --check-prefix=APPLE-NAMES %s
|
|
; RUN: llc -mtriple=x86_64-apple-darwin12 -filetype=obj -debugger-tune=gdb < %s \
|
|
; RUN: | llvm-readobj --sections - | FileCheck --check-prefix=GNU %s
|
|
|
|
; Linux does has debug_names tables only if we explicitly tune for lldb
|
|
; RUN: llc -mtriple=x86_64-pc-linux -filetype=obj < %s \
|
|
; RUN: | llvm-readobj --sections - | FileCheck --check-prefix=GNU %s
|
|
; RUN: llc -mtriple=x86_64-pc-linux -filetype=obj -debugger-tune=lldb < %s \
|
|
; RUN: | llvm-readobj --sections - | FileCheck --check-prefix=GNU %s
|
|
|
|
; No accelerator tables if type units are enabled, as DWARF v4 type units are
|
|
; not compatible with accelerator tables.
|
|
; RUN: llc -mtriple=x86_64-pc-linux -filetype=obj -generate-type-units -debugger-tune=lldb < %s \
|
|
; RUN: | llvm-readobj --sections - | FileCheck --check-prefix=NONE %s
|
|
|
|
; Debug types are ignored for non-ELF targets which means it shouldn't affect
|
|
; accelerator table generation.
|
|
; RUN: llc -mtriple=x86_64-apple-darwin12 -generate-type-units -filetype=obj < %s \
|
|
; RUN: | llvm-readobj --sections - | FileCheck --check-prefix=APPLE %s
|
|
|
|
; APPLE-NOT: debug_names
|
|
; APPLE-NOT: debug{{.*}}pub
|
|
; APPLE: apple_names
|
|
; APPLE-NOT: debug_names
|
|
; APPLE: debug{{.*}}pub
|
|
|
|
; APPLE-NAMES: Hashes count: 3
|
|
|
|
; GNU-NOT: apple_names
|
|
; GNU-NOT: debug_names
|
|
; GNU: gnu_pub
|
|
; GNU-NOT: apple_names
|
|
; GNU-NOT: debug_names
|
|
|
|
; NONE-NOT: apple_names
|
|
; NONE-NOT: debug_names
|
|
; NONE: debug_gnu_pub
|
|
|
|
@var = thread_local global i32 0, align 4, !dbg !0
|
|
|
|
; Function Attrs: norecurse nounwind readnone uwtable
|
|
define void @_Z3funv() local_unnamed_addr #0 !dbg !11 {
|
|
ret void, !dbg !14
|
|
}
|
|
|
|
; Function Attrs: norecurse uwtable
|
|
define weak_odr hidden ptr @_ZTW3var() local_unnamed_addr #1 {
|
|
ret ptr @var
|
|
}
|
|
|
|
attributes #0 = { norecurse nounwind readnone uwtable }
|
|
attributes #1 = { norecurse uwtable }
|
|
|
|
!llvm.dbg.cu = !{!2}
|
|
!llvm.module.flags = !{!7, !8, !9}
|
|
!llvm.ident = !{!10}
|
|
|
|
!0 = !DIGlobalVariableExpression(var: !1, expr: !DIExpression())
|
|
!1 = distinct !DIGlobalVariable(name: "var", scope: !2, file: !3, line: 1, type: !6, isLocal: false, isDefinition: true)
|
|
!2 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !3, producer: "clang version 7.0.0 (trunk 322268) (llvm/trunk 322267)", isOptimized: true, runtimeVersion: 0, emissionKind: FullDebug, enums: !4, globals: !5, nameTableKind: GNU)
|
|
!3 = !DIFile(filename: "debugger-tune.cpp", directory: "/tmp")
|
|
!4 = !{}
|
|
!5 = !{!0}
|
|
!6 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed)
|
|
!7 = !{i32 2, !"Dwarf Version", i32 4}
|
|
!8 = !{i32 2, !"Debug Info Version", i32 3}
|
|
!9 = !{i32 1, !"wchar_size", i32 4}
|
|
!10 = !{!"clang version 7.0.0 (trunk 322268) (llvm/trunk 322267)"}
|
|
!11 = distinct !DISubprogram(name: "fun", linkageName: "_Z3funv", scope: !3, file: !3, line: 2, type: !12, isLocal: false, isDefinition: true, scopeLine: 2, flags: DIFlagPrototyped, isOptimized: true, unit: !2, retainedNodes: !4)
|
|
!12 = !DISubroutineType(types: !13)
|
|
!13 = !{null}
|
|
!14 = !DILocation(line: 2, column: 13, scope: !11)
|
|
|