21 lines · plain
1; RUN: llc -mtriple=aarch64-linux %s -o - | \2; RUN: FileCheck %s --check-prefix=ASM3; RUN: llc -mtriple=aarch64-linux %s -filetype=obj -o - | \4; RUN: llvm-readelf --notes - | FileCheck %s --check-prefix=OBJ5 6define dso_local i32 @f() {7entry:8 ret i32 09}10 11!llvm.module.flags = !{!0}12 13!0 = !{i32 8, !"guarded-control-stack", i32 1}14 15; GCS attribute present16; ASM: .word 322122547217; ASM-NEXT: .word 418; ASM-NEXT: .word 419 20; OBJ: Properties: aarch64 feature: GCS21