blob: 9d1ed0d2e4938b5e039e416e027d76c4359c3aa9 [file] [log] [blame]
Peter Collingbournec4122c12015-06-15 21:08:13 +00001// RUN: %clang_cc1 -triple x86_64-linux-unknown -emit-llvm -o - %s -fsanitize=safe-stack | FileCheck -check-prefix=SP %s
2
3__attribute__((no_sanitize("safe-stack")))
4int foo(int *a) { return *a; }
5
6// SP-NOT: attributes #{{.*}} = { {{.*}}safestack{{.*}} }