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
45 lines
1.1 KiB
ArmAsm
45 lines
1.1 KiB
ArmAsm
# REQUIRES: x86
|
|
# RUN: llvm-mc -triple i686-windows-msvc %s -filetype=obj -o %t.obj
|
|
# RUN: lld-link %t.obj -safeseh -out:%t.exe -entry:main
|
|
# RUN: llvm-readobj --file-headers %t.exe | FileCheck %s
|
|
|
|
# This object lacks a _load_config_used global, so we set
|
|
# IMAGE_DLL_CHARACTERISTICS_NO_SEH even though there is an exception handler.
|
|
# This is a more secure default. If someone wants to use a CRT without a load
|
|
# config and they want to use 32-bit SEH, they will need to provide a
|
|
# safeseh-compatible load config.
|
|
|
|
# CHECK-LABEL: Characteristics [
|
|
# CHECK: IMAGE_DLL_CHARACTERISTICS_NO_SEH
|
|
# CHECK: ]
|
|
|
|
# CHECK-LABEL: DataDirectory {
|
|
# CHECK: LoadConfigTableRVA: 0x0
|
|
# CHECK: LoadConfigTableSize: 0x0
|
|
# CHECK: }
|
|
|
|
# CHECK-NOT: LoadConfig
|
|
# CHECK-NOT: SEHTable
|
|
|
|
.def @feat.00;
|
|
.scl 3;
|
|
.type 0;
|
|
.endef
|
|
.globl @feat.00
|
|
@feat.00 = 1
|
|
|
|
.text
|
|
.def _main; .scl 2; .type 32; .endef
|
|
.globl _main
|
|
_main:
|
|
pushl $_my_handler
|
|
movl $42, %eax
|
|
popl %ecx
|
|
ret
|
|
|
|
.def _my_handler; .scl 3; .type 32; .endef
|
|
_my_handler:
|
|
ret
|
|
|
|
.safeseh _my_handler
|