[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / CodeGen / ptrauth-module-flags.c
blob5a7e9a7c2a36fe923fd901b758a9f1a0a520766e
1 // RUN: %clang_cc1 -triple aarch64-linux-gnu -emit-llvm %s -o - | FileCheck %s --check-prefix=OFF
2 // RUN: %clang_cc1 -triple aarch64-linux-gnu -fptrauth-elf-got -emit-llvm %s -o - | FileCheck %s --check-prefix=ELFGOT
4 // ELFGOT: !llvm.module.flags = !{
5 // ELFGOT-SAME: !1
6 // ELFGOT: !1 = !{i32 8, !"ptrauth-elf-got", i32 1}
8 // OFF-NOT: "ptrauth-