search for: linetablesonly

Displaying 1 result from an estimated 1 matches for "linetablesonly".

2014 Aug 27
6
[LLVMdev] Minimizing -gmlt
...void CGDebugInfo::EmitFunctionStart(GlobalDecl GD, if (Loc.isInvalid()) CurLoc = SourceLocation(); } - unsigned LineNo = getLineNumber(Loc); - unsigned ScopeLine = getLineNumber(ScopeLoc); + unsigned LineNo = 0; + unsigned ScopeLine = 0; + if (DebugKind > CodeGenOptions::DebugLineTablesOnly) { + LineNo = getLineNumber(Loc); + ScopeLine = getLineNumber(ScopeLoc); + } // FIXME: The function declaration we're constructing here is mostly reusing // declarations from CXXMethodDecl and not constructing new ones for arbitrary diff --git test/CodeGenCXX/debug-info-blocks.cp...