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
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user