summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/cfi-check-fail-attrs.c
blob: 77ba29a5581c72231d8ce183dcdb0c0d358bc116 (plain)
1
2
3
4
5
// RUN: %clang_cc1 -triple aarch64-unknown-linux -fsanitize-cfi-cross-dso -target-feature +reserve-x18 -emit-llvm -o - %s | FileCheck %s

// CHECK: define weak_odr hidden void @__cfi_check_fail{{.*}} [[ATTR:#[0-9]*]]

// CHECK: attributes [[ATTR]] = {{.*}} "target-features"="+reserve-x18"
OpenPOWER on IntegriCloud