[llvm] r208149 - llvm-cov: Handle missing source files as GCOV does
Duncan P. N. Exon Smith
dexonsmith at apple.com
Wed May 7 14:54:55 PDT 2014
On 2014-May-06, at 19:11, Justin Bogner <mail at justinbogner.com> wrote:
> void addFunctionLine(StringRef Filename, uint32_t Line,
> const GCOVFunction *Function) {
> - LineInfo[Filename].Functions[Line-1].push_back(Function);
> + if (Line > LineInfo[Filename].LastLine)
> + LineInfo[Filename].LastLine = Line;
> + LineInfo[Filename].Functions[Line-1].push_back(Function);
> }
Funny indentation here.
More information about the llvm-commits
mailing list