// This test checks that the GNUPropertyRewriter can decode the BTI feature flag. // It decodes an executable with BTI, and checks for the message. RUN: yaml2obj %p/Inputs/property-note-bti.yaml &> %t.exe RUN: llvm-readelf -n %t.exe | FileCheck %s CHECK: BTI RUN: llvm-bolt %t.exe -o %t.exe.bolt | FileCheck %s -check-prefix=CHECK-BOLT CHECK-BOLT: BOLT-INFO: binary is using BTI