================
@@ -0,0 +1,15 @@
+// RUN: %clang -### -c --target=x86_64 -Wa,--gsframe %s -Werror 2>&1 | 
FileCheck %s
+// CHECK:  "-cc1" {{.*}}"--gsframe"
+
+// RUN: %clang -### -c --target=x86_64 %s 2>&1 | FileCheck %s --check-prefix=NO
+// NO:     "-cc1"
----------------
tarunprabhu wrote:

It may be better to specifically check for the absence of `--gsframe` here:

```
// RUN: %clang -### -c --target=x86_64 %s 2>&1 | FileCheck %s 
--check-prefix=NO-GSFRAME
// NO-GSFRAME-NOT:     "--gsframe"
```

https://github.com/llvm/llvm-project/pull/165806
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to