1 ; RUN: llc -mtriple=thumbv6m-none-eabi < %s | FileCheck %s
3 ; CHECK-LABEL: .globl nosan
4 ; CHECK-NEXT: .p2align 1
5 ; CHECK-NEXT: .type nosan,%function
7 ; CHECK-NEXT: .thumb_func
9 define dso_local void @nosan() nounwind {
13 ;; The alignment is at least 4 to avoid unaligned type hash loads when this
14 ;; instrumented function is indirectly called.
15 ; CHECK-LABEL: .globl f1
16 ; CHECK-NEXT: .p2align 2
17 ; CHECK-NEXT: .type f1,%function
18 ; CHECK-NEXT: .long 3170468932
19 ; CHECK-NEXT: .code 16
20 ; CHECK-NEXT: .thumb_func
22 define void @f1(ptr noundef %x) !kcfi_type !1 {
26 !llvm.module.flags = !{!0}
27 !0 = !{i32 4, !"kcfi", i32 1}
28 !1 = !{i32 -1124498364}