brintos

brintos / llvm-project-archived public Read only

0
0
Text · 256 B · 9d1ed0d Raw
7 lines · cpp
1// RUN: %clang_cc1 -triple x86_64-linux-unknown -emit-llvm -o - %s -fsanitize=safe-stack | FileCheck -check-prefix=SP %s2 3__attribute__((no_sanitize("safe-stack")))4int foo(int *a) {  return *a; }5 6// SP-NOT: attributes #{{.*}} = { {{.*}}safestack{{.*}} }7