Ignore line numbers on debug intrinsics. Add an assert to ensure that we aren't emitt...
authorNick Lewycky <nicholas@mxc.ca>
Tue, 3 Jun 2014 04:25:36 +0000 (04:25 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Tue, 3 Jun 2014 04:25:36 +0000 (04:25 +0000)
commit5f53ddd0cc284061519c40e0b98cf124db3674fb
tree873d7b71d8217679dadeb96a9f935540d1ebcaa2
parentcc4f38bc280cd013b786f1a2d757f02fd8f71b50
Ignore line numbers on debug intrinsics. Add an assert to ensure that we aren't emitting line number zero, the .gcno format uses this to indicate that the next field is a filename.

llvm-svn: 210068
llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp
llvm/test/Transforms/GCOVProfiling/linezero.ll [new file with mode: 0644]