Peter Collingbourne | c4122c1 | 2015-06-15 21:08:13 +0000 | [diff] [blame] | 1 | // 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"))) | ||||
4 | int foo(int *a) { return *a; } | ||||
5 | |||||
6 | // SP-NOT: attributes #{{.*}} = { {{.*}}safestack{{.*}} } |