1*c4122c17SPeter Collingbourne // RUN: %clang_cc1 -triple x86_64-linux-unknown -emit-llvm -o - %s -fsanitize=safe-stack | FileCheck -check-prefix=SP %s 2*c4122c17SPeter Collingbourne 3*c4122c17SPeter Collingbourne __attribute__((no_sanitize("safe-stack"))) foo(int * a)4*c4122c17SPeter Collingbourneint foo(int *a) { return *a; } 5*c4122c17SPeter Collingbourne 6*c4122c17SPeter Collingbourne // SP-NOT: attributes #{{.*}} = { {{.*}}safestack{{.*}} } 7