[llvm-commits] [llvm-gcc-4.2] r52269 - /llvm-gcc-4.2/trunk/gcc/opts.c
Devang Patel
dpatel at apple.com
Fri Jun 13 18:08:24 PDT 2008
Author: dpatel
Date: Fri Jun 13 20:08:24 2008
New Revision: 52269
URL: http://llvm.org/viewvc/llvm-project?rev=52269&view=rev
Log:
-fstack-protector is not supported. Take 2.
Modified:
llvm-gcc-4.2/trunk/gcc/opts.c
Modified: llvm-gcc-4.2/trunk/gcc/opts.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/opts.c?rev=52269&r1=52268&r2=52269&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/opts.c (original)
+++ llvm-gcc-4.2/trunk/gcc/opts.c Fri Jun 13 20:08:24 2008
@@ -206,6 +206,13 @@
opt = argv[0];
+ /* LLVM LOCAL begin stack protector */
+#ifdef ENABLE_LLVM
+ if (strncmp(opt, "-fstack-protector", 17) == 0)
+ error ("-fstack-protector is not supported.");
+#endif
+ /* LLVM LOCAL end stack protector */
+
opt_index = find_opt (opt + 1, lang_mask | CL_COMMON | CL_TARGET);
if (opt_index == cl_options_count
&& (opt[1] == 'W' || opt[1] == 'f' || opt[1] == 'm')
More information about the llvm-commits
mailing list