[cfe-commits] r107356 - /cfe/trunk/lib/CodeGen/CodeGenFunction.cpp

Daniel Dunbar daniel at zuster.org
Wed Jun 30 17:16:31 PDT 2010


Author: ddunbar
Date: Wed Jun 30 19:16:31 2010
New Revision: 107356

URL: http://llvm.org/viewvc/llvm-project?rev=107356&view=rev
Log:
Revert "IRgen: Make sure any prolog instructions get debug info.", the lexical
scope hasn't been set up yet so this isn't valid. It was just a cleanup to the
IR, so I'm going to ignore it for now.

Modified:
    cfe/trunk/lib/CodeGen/CodeGenFunction.cpp

Modified: cfe/trunk/lib/CodeGen/CodeGenFunction.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CodeGenFunction.cpp?rev=107356&r1=107355&r2=107356&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CodeGenFunction.cpp (original)
+++ cfe/trunk/lib/CodeGen/CodeGenFunction.cpp Wed Jun 30 19:16:31 2010
@@ -254,7 +254,6 @@
   if (CGDebugInfo *DI = getDebugInfo()) {
     DI->setLocation(StartLoc);
     DI->EmitFunctionStart(GD, FnType, CurFn, Builder);
-    DI->EmitStopPoint(CurFn, Builder);
   }
 
   EmitFunctionInstrumentation("__cyg_profile_func_enter");





More information about the cfe-commits mailing list