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
46 lines
1.8 KiB
LLVM
46 lines
1.8 KiB
LLVM
; RUN: llc < %s -mtriple x86_64-apple-darwin11 -mcpu corei7 -emit-compact-unwind-non-canonical=true -filetype=obj -o - | llvm-objdump -d --unwind-info -s - | FileCheck %s
|
|
; Regression test for http://llvm.org/bugs/show_bug.cgi?id=20800.
|
|
|
|
; ModuleID = 'asan_report.ii'
|
|
target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
|
|
target triple = "x86_64-apple-macosx10.9.0"
|
|
|
|
@.str = private unnamed_addr constant [3 x i8] c"=>\00", align 1
|
|
@.str1 = private unnamed_addr constant [3 x i8] c" \00", align 1
|
|
@.str2 = private unnamed_addr constant [6 x i8] c"%s%p:\00", align 1
|
|
|
|
; CHECK: <___asan_report_error>:
|
|
|
|
; subq instruction starts at 0x0a, so the second byte of the compact encoding
|
|
; (UNWIND_X86_64_FRAMELESS_STACK_SIZE in mach-o/compact_unwind_encoding.h)
|
|
; must be 0x0d.
|
|
; CHECK: {{a:.*subq.*%rsp}}
|
|
|
|
; CHECK: Contents of __compact_unwind section
|
|
; CHECK: ___asan_report_error
|
|
|
|
; Because of incorrect push instruction size in X86AsmBackend.cpp the stack
|
|
; size was also calculated incorrectly.
|
|
; CHECK-NOT: {{compact encoding:.*0x0309f800}}
|
|
; CHECK: {{compact encoding:.*0x030df800}}
|
|
|
|
define void @__asan_report_error(i64 %step) #0 {
|
|
%str.i = alloca i64, align 8
|
|
%stack = alloca [256 x i64], align 8
|
|
br label %print_shadow_bytes.exit.i
|
|
|
|
print_shadow_bytes.exit.i: ; preds = %print_shadow_bytes.exit.i, %0
|
|
%iv.i = phi i64 [ -5, %0 ], [ %iv.next.i, %print_shadow_bytes.exit.i ]
|
|
%reg15 = icmp eq i64 %iv.i, 0
|
|
%.str..str1.i = select i1 %reg15, ptr @.str, ptr @.str1
|
|
%reg17 = shl i64 %iv.i, 1
|
|
%reg19 = inttoptr i64 %reg17 to ptr
|
|
call void (ptr, ptr, ...) @append(ptr %str.i, ptr @.str2, ptr %.str..str1.i, ptr %reg19)
|
|
%iv.next.i = add nsw i64 %iv.i, %step
|
|
br label %print_shadow_bytes.exit.i
|
|
}
|
|
|
|
declare void @append(ptr, ptr, ...)
|
|
|
|
attributes #0 = { "frame-pointer"="none" }
|