From 3de064dfdf690e1e4156b7007c8cc522013cee42 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. llvm-svn: 107356 --- clang/lib/CodeGen/CodeGenFunction.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp') diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp index 85d25b4..6df3af2 100644 --- a/clang/lib/CodeGen/CodeGenFunction.cpp +++ b/clang/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.1