We have logic in there to emit a default debugging label at the beginning of a
authorBill Wendling <isanbard@gmail.com>
Fri, 20 Feb 2009 22:19:20 +0000 (22:19 +0000)
committerBill Wendling <isanbard@gmail.com>
Fri, 20 Feb 2009 22:19:20 +0000 (22:19 +0000)
commit1bcf0f5e45fd4e17b1be5fc80984b3c1722ba381
tree8f698332f9db9dd3f5704eec8c8063150b85d836
parentd33cec18a9c0d9382dbf1e2b629f3daef29226ee
We have logic in there to emit a default debugging label at the beginning of a
function. Emitting another label after the prologue messes up the debugging. We
are doing that because the first DebugLoc object it sees is different from the
previous, which was nothing. Check for this situation, and don't emit one if
it's the first.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65180 91177308-0d34-0410-b5e6-96231b3b80d8
utils/TableGen/AsmWriterEmitter.cpp