[dsymutil] Create warn() global helper...
authorFrederic Riss <friss@apple.com>
Sat, 28 Feb 2015 00:29:01 +0000 (00:29 +0000)
committerFrederic Riss <friss@apple.com>
Sat, 28 Feb 2015 00:29:01 +0000 (00:29 +0000)
commita2cd6a504ccb29dee04dd7d8cd1caf355638f355
treed687037861df81f0dcb8344edc20a8f91411ff89
parenta646d2705f50c236de2d58ca3b9522d9ecdc1302
[dsymutil] Create warn() global helper...

...and reimplement DwarfLinker::reportWarning in terms of it. Other
compenents than the DwarfLinker will need to report warnings, and I'm
about to add a similar "error()" helper at the same global level so
make that consistent.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230820 91177308-0d34-0410-b5e6-96231b3b80d8
tools/dsymutil/DwarfLinker.cpp