brintos

brintos / llvm-project-archived public Read only

0
0
Text · 433 B · 28cce34 Raw
11 lines · plain
1// This test checks that the GNUPropertyRewriter can decode the BTI feature flag.2// It decodes an executable without BTI, and checks for the warning.3 4RUN: yaml2obj %p/Inputs/property-note-nobti.yaml &> %t.exe5 6RUN: llvm-readelf -n %t.exe | FileCheck %s7CHECK-NOT: BTI8 9RUN: llvm-bolt %t.exe -o %t.exe.bolt | FileCheck %s -check-prefix=CHECK-BOLT10CHECK-BOLT-NOT: BOLT-WARNING: binary is using BTI. Optimized binary may be corrupted11