brintos

brintos / llvm-project-archived public Read only

0
0
Text · 371 B · 220d444 Raw
8 lines · c
1// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -emit-llvm -fsanitize=kcfi -fsanitize-kcfi-arity -o - %s | FileCheck %s2// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -emit-llvm -fsanitize=kcfi -fsanitize-kcfi-arity -x c++ -o - %s | FileCheck %s3#if !__has_feature(kcfi_arity)4#error Missing kcfi_arity?5#endif6 7// CHECK: ![[#]] = !{i32 4, !"kcfi-arity", i32 1}8