[llvm-commits] [gcc-plugin] r76207 - /gcc-plugin/trunk/llvm-debug.cpp

Duncan Sands baldrick at free.fr
Fri Jul 17 11:23:57 PDT 2009


Author: baldrick
Date: Fri Jul 17 13:23:55 2009
New Revision: 76207

URL: http://llvm.org/viewvc/llvm-project?rev=76207&view=rev
Log:
Get rid of code intended for Apple internal use
that doesn't compile against gcc mainline.

Modified:
    gcc-plugin/trunk/llvm-debug.cpp

Modified: gcc-plugin/trunk/llvm-debug.cpp
URL: http://llvm.org/viewvc/llvm-project/gcc-plugin/trunk/llvm-debug.cpp?rev=76207&r1=76206&r2=76207&view=diff

==============================================================================
--- gcc-plugin/trunk/llvm-debug.cpp (original)
+++ gcc-plugin/trunk/llvm-debug.cpp Fri Jul 17 13:23:55 2009
@@ -899,13 +899,6 @@
   else
     LangTag = DW_LANG_C89;
 
-   const char *Flags = "";
-   // Do this only when RC_DEBUG_OPTIONS environment variable is set to
-   // a nonempty string. This is intended only for internal Apple use.
-   char * debugopt = getenv("RC_DEBUG_OPTIONS");
-   if (debugopt && debugopt[0])
-     Flags = get_arguments();
-
    // flag_objc_abi represents Objective-C runtime version number. It is zero
    // for all other language.
    unsigned ObjcRunTimeVer = 0;
@@ -914,7 +907,7 @@
    DICompileUnit NewCU = DebugFactory.CreateCompileUnit(LangTag, FileName, 
                                                         Directory, 
                                                         version_string, isMain,
-                                                        optimize, Flags,
+                                                        optimize, "",
                                                         ObjcRunTimeVer);
   CU = NewCU.getGV();
   return NewCU;





More information about the llvm-commits mailing list