26 lines · plain
1# RUN: llvm-mc -filetype=obj -triple aarch64-unknown-unknown %s -o %t.o2# RUN: %clang %cflags %t.o -o %t.exe -Wl,-q3# RUN: not llvm-bolt %t.exe -o %t.exe.bolt --update-branch-protection=false 2>&1 | FileCheck %s4 5# CHECK: BOLT-ERROR: --update-branch-protection is set to false, but foo contains .cfi-negate-ra-state6 7 .text8 .globl foo9 .p2align 210 .type foo,@function11foo:12 .cfi_startproc13 hint #2514 .cfi_negate_ra_state15 mov x1, #016 hint #2917 .cfi_negate_ra_state18 ret19 .cfi_endproc20 .size foo, .-foo21 22 .global _start23 .type _start, %function24_start:25 b foo26