[DebugInfo] Use WithColor for more debug line warnings
authorAndrew Ng <anng.sw@gmail.com>
Fri, 20 Apr 2018 15:29:47 +0000 (15:29 +0000)
committerAndrew Ng <anng.sw@gmail.com>
Fri, 20 Apr 2018 15:29:47 +0000 (15:29 +0000)
commit7a2fa74ab046353c5ea337e96212375008547314
tree60741873373a17d78eead8c999e3c6aadead048f
parentab9798765c51233e10c4a6a4eae03ef33e294eb4
[DebugInfo] Use WithColor for more debug line warnings

Updated two more debug line related warnings to use WithColor. This was
necessary to ensure consistent output order of the warnings on Windows
for debug line tests.

Differential Revision: https://reviews.llvm.org/D45871

llvm-svn: 330440
llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
llvm/test/DebugInfo/X86/dwarfdump-bogus-LNE.s
llvm/test/DebugInfo/X86/dwarfdump-line-mismatch.s