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
65 lines
2.5 KiB
ArmAsm
65 lines
2.5 KiB
ArmAsm
// RUN: llvm-mc -g -dwarf-version 2 -triple i686-pc-linux-gnu %s -filetype=obj -o - | llvm-readobj -r - | FileCheck %s
|
|
// RUN: not llvm-mc -g -dwarf-version 1 -triple i686-pc-linux-gnu %s -filetype=asm -o - 2>&1 | FileCheck --check-prefix=DWARF1 %s
|
|
// RUN: llvm-mc -g -dwarf-version 2 -triple i686-pc-linux-gnu %s -filetype=asm -o - | FileCheck --check-prefix=ASM --check-prefix=DWARF2 %s
|
|
// RUN: llvm-mc -g -dwarf-version 3 -triple i686-pc-linux-gnu %s -filetype=asm -o - | FileCheck --check-prefix=ASM --check-prefix=DWARF3 %s
|
|
// RUN: llvm-mc -g -triple i686-pc-linux-gnu %s -filetype=asm -o - | FileCheck --check-prefix=ASM --check-prefix=DWARF4 %s
|
|
// RUN: llvm-mc -g -dwarf-version 5 -triple i686-pc-linux-gnu %s -filetype=asm -o - 2>&1 | FileCheck --check-prefix=DWARF5,DWARF5_VER %s
|
|
// RUN: llvm-mc -g -dwarf-version 6 -triple i686-pc-linux-gnu %s -filetype=asm -o - 2>&1 | FileCheck --check-prefix=DWARF5,DWARF6_VER %s
|
|
// RUN: not llvm-mc -g -dwarf-version 7 -triple i686-pc-linux-gnu %s -filetype=asm -o - 2>&1 | FileCheck --check-prefix=DWARF7 %s
|
|
|
|
|
|
// Test that on ELF:
|
|
// 1. the debug info has a relocation to debug_abbrev and one to debug_line.
|
|
// 2. the debug_aranges has relocations to text and debug_line.
|
|
|
|
|
|
.text
|
|
.globl foo
|
|
.type foo, @function
|
|
.align 4
|
|
foo:
|
|
ret
|
|
.size foo, .-foo
|
|
|
|
// CHECK: Relocations [
|
|
// CHECK: Section ({{[^ ]+}}) .rel.debug_info {
|
|
// CHECK-NEXT: 0x6 R_386_32 .debug_abbrev
|
|
// CHECK-NEXT: 0xC R_386_32 .debug_line
|
|
// CHECK: }
|
|
// CHECK-NEXT: Section ({{[^ ]+}}) .rel.debug_aranges {
|
|
// CHECK-NEXT: 0x6 R_386_32 .debug_info
|
|
// CHECK-NEXT: 0x10 R_386_32 .text
|
|
// CHECK-NEXT: }
|
|
// CHECK: ]
|
|
|
|
// First instance of the section is just to give it a label for debug_aranges to refer to
|
|
// ASM: .section .debug_info
|
|
|
|
// ASM: .section .debug_abbrev
|
|
// ASM-NEXT: [[ABBREV_LABEL:.Ltmp[0-9]+]]
|
|
// DWARF5: .section .debug_abbrev
|
|
// DWARF5-NEXT: [[ABBREV_LABEL:.Ltmp[0-9]+]]
|
|
|
|
// Second instance of the section has the CU
|
|
// ASM: .section .debug_info
|
|
// Dwarf version
|
|
// DWARF2: .short 2
|
|
// DWARF3: .short 3
|
|
// DWARF4: .short 4
|
|
// ASM-NEXT: .long [[ABBREV_LABEL]]
|
|
// DWARF5_VER: .short 5
|
|
// DWARF6_VER: .short 6
|
|
// DWARF5-NEXT: .byte 1
|
|
// DWARF5-NEXT: .byte 4
|
|
// DWARF5-NEXT: .long [[ABBREV_LABEL]]
|
|
|
|
// First .byte 1 is the abbreviation number for the compile_unit abbrev
|
|
// ASM: .byte 1
|
|
// ASM-NEXT: .long [[LINE_LABEL:.L[a-z0-9]+]]
|
|
|
|
// ASM: .section .debug_line
|
|
// ASM-NEXT: [[LINE_LABEL]]
|
|
|
|
// DWARF1: Dwarf version 1 is not supported.
|
|
// DWARF7: Dwarf version 7 is not supported.
|