Use standard `print(dbgs())` pattern to implement DebugLoc::dump
authorSean Silva <chisophugis@gmail.com>
Thu, 15 Mar 2018 22:51:55 +0000 (22:51 +0000)
committerSean Silva <chisophugis@gmail.com>
Thu, 15 Mar 2018 22:51:55 +0000 (22:51 +0000)
commit673f4b57f684320bae7034529acf60e31ff1e3af
tree80b58e295644db5d2a4123508499d68d0636575f
parent2d568ec0e49389b903fe3f04bbc6b6e9c3b7c13f
Use standard `print(dbgs())` pattern to implement DebugLoc::dump

The open-coded implementation had a bug. It didn't print filenames.

llvm-svn: 327681
llvm/lib/IR/DebugLoc.cpp