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
67 lines
2.5 KiB
ArmAsm
67 lines
2.5 KiB
ArmAsm
// REQUIRES: x86
|
|
// RUN: llvm-mc -filetype=obj -triple=i386-unknown-linux %s -o %t1.o
|
|
// RUN: llvm-mc -filetype=obj -triple=i386-unknown-linux %p/Inputs/shared.s -o %t2.o
|
|
// RUN: ld.lld -shared -soname=t2.so %t2.o -o %t2.so
|
|
|
|
// RUN: ld.lld %t1.o %t2.so -o %t.exe -z retpolineplt
|
|
// RUN: llvm-objdump --no-print-imm-hex -d -s --no-show-raw-insn %t.exe | FileCheck %s
|
|
|
|
// CHECK: Contents of section .got.plt:
|
|
// CHECK-NEXT: 40224000 00000000 00000000 10124000
|
|
// CHECK-NEXT: 30124000
|
|
|
|
// CHECK: Disassembly of section .plt:
|
|
// CHECK-EMPTY:
|
|
// CHECK-NEXT: <.plt>:
|
|
// CHECK-NEXT: 4011d0: pushl 4207276
|
|
// CHECK-NEXT: 4011d6: pushl %eax
|
|
// CHECK-NEXT: 4011d7: movl 4207280, %eax
|
|
// CHECK-NEXT: 4011dc: calll 0x4011f0 <.plt+0x20>
|
|
// CHECK-NEXT: 4011e1: pause
|
|
// CHECK-NEXT: 4011e3: lfence
|
|
// CHECK-NEXT: 4011e6: jmp 0x4011e1 <.plt+0x11>
|
|
// CHECK-NEXT: 4011e8: int3
|
|
// CHECK-NEXT: 4011e9: int3
|
|
// CHECK-NEXT: 4011ea: int3
|
|
// CHECK-NEXT: 4011eb: int3
|
|
// CHECK-NEXT: 4011ec: int3
|
|
// CHECK-NEXT: 4011ed: int3
|
|
// CHECK-NEXT: 4011ee: int3
|
|
// CHECK-NEXT: 4011ef: int3
|
|
// CHECK-NEXT: 4011f0: movl %ecx, (%esp)
|
|
// CHECK-NEXT: 4011f3: movl 4(%esp), %ecx
|
|
// CHECK-NEXT: 4011f7: movl %eax, 4(%esp)
|
|
// CHECK-NEXT: 4011fb: movl %ecx, %eax
|
|
// CHECK-NEXT: 4011fd: popl %ecx
|
|
// CHECK-NEXT: 4011fe: retl
|
|
// CHECK-NEXT: 4011ff: int3
|
|
// CHECK-NEXT: 401200: pushl %eax
|
|
// CHECK-NEXT: 401201: movl 4207284, %eax
|
|
// CHECK-NEXT: 401206: calll 0x4011f0 <.plt+0x20>
|
|
// CHECK-NEXT: 40120b: jmp 0x4011e1 <.plt+0x11>
|
|
// CHECK-NEXT: 401210: pushl $0
|
|
// CHECK-NEXT: 401215: jmp 0x4011d0 <.plt>
|
|
// CHECK-NEXT: 40121a: int3
|
|
// CHECK-NEXT: 40121b: int3
|
|
// CHECK-NEXT: 40121c: int3
|
|
// CHECK-NEXT: 40121d: int3
|
|
// CHECK-NEXT: 40121e: int3
|
|
// CHECK-NEXT: 40121f: int3
|
|
// CHECK-NEXT: 401220: pushl %eax
|
|
// CHECK-NEXT: 401221: movl 4207288, %eax
|
|
// CHECK-NEXT: 401226: calll 0x4011f0 <.plt+0x20>
|
|
// CHECK-NEXT: 40122b: jmp 0x4011e1 <.plt+0x11>
|
|
// CHECK-NEXT: 401230: pushl $8
|
|
// CHECK-NEXT: 401235: jmp 0x4011d0 <.plt>
|
|
// CHECK-NEXT: 40123a: int3
|
|
// CHECK-NEXT: 40123b: int3
|
|
// CHECK-NEXT: 40123c: int3
|
|
// CHECK-NEXT: 40123d: int3
|
|
// CHECK-NEXT: 40123e: int3
|
|
// CHECK-NEXT: 40123f: int3
|
|
|
|
.global _start
|
|
_start:
|
|
jmp bar@PLT
|
|
jmp zed@PLT
|