From 34161996e5bec20bcc3a97894a3a38f2d0f56c72 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Thu, 1 Jul 2010 00:16:31 +0000 Subject: 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107356 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CodeGenFunction.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/CodeGen/CodeGenFunction.cpp') diff --git a/lib/CodeGen/CodeGenFunction.cpp b/lib/CodeGen/CodeGenFunction.cpp index 85d25b411d..6df3af2b98 100644 --- a/lib/CodeGen/CodeGenFunction.cpp +++ b/lib/CodeGen/CodeGenFunction.cpp @@ -254,7 +254,6 @@ void CodeGenFunction::StartFunction(GlobalDecl GD, QualType RetTy, if (CGDebugInfo *DI = getDebugInfo()) { DI->setLocation(StartLoc); DI->EmitFunctionStart(GD, FnType, CurFn, Builder); - DI->EmitStopPoint(CurFn, Builder); } EmitFunctionInstrumentation("__cyg_profile_func_enter"); -- cgit v1.2.3-18-g5258