IR: Always print MDLocation line
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Wed, 14 Jan 2015 22:14:26 +0000 (22:14 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Wed, 14 Jan 2015 22:14:26 +0000 (22:14 +0000)
commitbf13dd03e71d1e5ccd30eb4d18e74db221210a61
tree7a27af55b388446ba5db18febca73bd50ba4b6c7
parent0294f639d281ea3308ecbb3a50ef2e9893bcccf9
IR: Always print MDLocation line

Print `MDLocation`'s `line` field even when it's 0.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226046 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/AsmWriter.cpp
test/Assembler/mdlocation.ll