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

Daniel Dunbar daniel at zuster.org
Wed Jun 30 14:27:56 PDT 2010


Author: ddunbar
Date: Wed Jun 30 16:27:56 2010
New Revision: 107320

URL: http://llvm.org/viewvc/llvm-project?rev=107320&view=rev
Log:
IRgen: Make sure any prolog instructions get debug info.

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=107320&r1=107319&r2=107320&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CodeGenFunction.cpp (original)
+++ cfe/trunk/lib/CodeGen/CodeGenFunction.cpp Wed Jun 30 16:27:56 2010
@@ -254,6 +254,7 @@
   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