[dragonegg] r191024 - Some linux distributions have patched their system gcc to turn on the
Duncan Sands
baldrick at free.fr
Thu Sep 19 11:21:32 PDT 2013
Author: baldrick
Date: Thu Sep 19 13:21:32 2013
New Revision: 191024
URL: http://llvm.org/viewvc/llvm-project?rev=191024&view=rev
Log:
Some linux distributions have patched their system gcc to turn on the
stack protector by default. Ensure this test passes on such systems.
Modified:
dragonegg/trunk/test/validator/c/StackProtector.c
Modified: dragonegg/trunk/test/validator/c/StackProtector.c
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/test/validator/c/StackProtector.c?rev=191024&r1=191023&r2=191024&view=diff
==============================================================================
--- dragonegg/trunk/test/validator/c/StackProtector.c (original)
+++ dragonegg/trunk/test/validator/c/StackProtector.c Thu Sep 19 13:21:32 2013
@@ -1,5 +1,5 @@
// RUN: %dragonegg -S -o - %s -fstack-protector --param ssp-buffer-size=1 | FileCheck --check-prefix=SP %s
-// RUN: %dragonegg -S -o - %s | FileCheck --check-prefix=NP %s
+// RUN: %dragonegg -S -o - %s -fno-stack-protector | FileCheck --check-prefix=NP %s
void foo(void) {}
// SP: attributes {{.*}} "stack-protector-buffer-size"="1"
// NP-NOT: stack-protector
More information about the llvm-commits
mailing list