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
82 lines
2.3 KiB
LLVM
82 lines
2.3 KiB
LLVM
; RUN: llc -mtriple mipsel-windows -filetype=obj < %s | obj2yaml | FileCheck %s
|
|
|
|
; CHECK: Machine: IMAGE_FILE_MACHINE_R4000
|
|
|
|
|
|
|
|
; CHECK: - Name: .text
|
|
; CHECK: Relocations:
|
|
|
|
declare void @bar()
|
|
define i32 @foo_jmp() {
|
|
call i32 @bar()
|
|
; CHECK: - VirtualAddress: 8
|
|
; CHECK: SymbolName: bar
|
|
; CHECK: Type: IMAGE_REL_MIPS_JMPADDR
|
|
ret i32 0
|
|
}
|
|
|
|
@var = external global i32
|
|
define i32 @foo_var() {
|
|
%1 = load i32, i32* @var
|
|
; CHECK: - VirtualAddress: 32
|
|
; CHECK: SymbolName: var
|
|
; CHECK: Type: IMAGE_REL_MIPS_REFHI
|
|
; CHECK: - VirtualAddress: 32
|
|
; CHECK: SymbolName: .text
|
|
; CHECK: Type: IMAGE_REL_MIPS_PAIR
|
|
; CHECK: - VirtualAddress: 40
|
|
; CHECK: SymbolName: var
|
|
; CHECK: Type: IMAGE_REL_MIPS_REFLO
|
|
ret i32 %1
|
|
}
|
|
|
|
|
|
|
|
; CHECK: - Name: .data
|
|
; CHECK: Relocations:
|
|
|
|
%struct._PTR = type { ptr }
|
|
|
|
@var1 = internal global %struct._PTR { ptr @var2 }
|
|
@var2 = external global i32
|
|
; CHECK: - VirtualAddress: 0
|
|
; CHECK: SymbolName: var2
|
|
; CHECK: Type: IMAGE_REL_MIPS_REFWORD
|
|
|
|
|
|
|
|
|
|
; CHECK: - Name: '.debug$S'
|
|
; CHECK: Relocations:
|
|
|
|
!llvm.dbg.cu = !{!0}
|
|
!llvm.module.flags = !{!2, !3, !4}
|
|
|
|
!0 = distinct !DICompileUnit(language: DW_LANG_C11, file: !1, emissionKind: FullDebug)
|
|
!1 = !DIFile(filename: "dummy.c", directory: "/tmp/private")
|
|
!2 = !{i32 2, !"CodeView", i32 1}
|
|
!3 = !{i32 2, !"Debug Info Version", i32 3}
|
|
!4 = !{i32 1, !"wchar_size", i32 2}
|
|
!5 = distinct !DISubprogram(name: "foo", scope: !1, file: !1, line: 1, type: !6, scopeLine: 2, spFlags: DISPFlagDefinition, unit: !0)
|
|
!6 = !DISubroutineType(types: !7)
|
|
!7 = !{null}
|
|
!8 = !DILocation(line: 3, scope: !5)
|
|
|
|
define dso_local void @foo_dbg() #0 !dbg !5 {
|
|
ret void, !dbg !8
|
|
; CHECK: - VirtualAddress: 92
|
|
; CHECK: SymbolName: foo_dbg
|
|
; CHECK: Type: IMAGE_REL_MIPS_SECREL
|
|
; CHECK: - VirtualAddress: 96
|
|
; CHECK: SymbolName: foo_dbg
|
|
; CHECK: Type: IMAGE_REL_MIPS_SECTION
|
|
; CHECK: - VirtualAddress: 148
|
|
; CHECK: SymbolName: foo_dbg
|
|
; CHECK: Type: IMAGE_REL_MIPS_SECREL
|
|
; CHECK: - VirtualAddress: 152
|
|
; CHECK: SymbolName: foo_dbg
|
|
; CHECK: Type: IMAGE_REL_MIPS_SECTION
|
|
}
|
|
|