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)
commitc69c42240ef96fcde3e6299f5c8f388643b1d840
treee8daf34c38a1bba5092db6797c50e9eed9ef14c5
parent9a2d23974068914097a0ad65188ab7c644006760
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210068 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Instrumentation/GCOVProfiling.cpp
test/Transforms/GCOVProfiling/linezero.ll [new file with mode: 0644]