[llvm-commits] [llvm-gcc-4.2] r106767 - /llvm-gcc-4.2/trunk/gcc/opts.c
Devang Patel
dpatel at apple.com
Thu Jun 24 10:34:34 PDT 2010
Author: dpatel
Date: Thu Jun 24 12:34:34 2010
New Revision: 106767
URL: http://llvm.org/viewvc/llvm-project?rev=106767&view=rev
Log:
Reject -gstabs command line option because llvm-gcc does not support STABS debugging format.
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=106767&r1=106766&r2=106767&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/opts.c (original)
+++ llvm-gcc-4.2/trunk/gcc/opts.c Thu Jun 24 12:34:34 2010
@@ -1183,7 +1183,13 @@
case OPT_gstabs:
case OPT_gstabs_:
+ /* LLVM LOCAL begin */
+#ifdef ENABLE_LLVM
+ error ("llvm-gcc does not support STABS debugging format");
+#else
set_debug_level (DBX_DEBUG, code == OPT_gstabs_, arg);
+#endif
+ /* LLVM LOCAL end */
break;
case OPT_gvms:
More information about the llvm-commits
mailing list