You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

7 lines
256 B

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