OSDN Git Service

[dsymutil] Unify error handling and add color
authorJonas Devlieghere <jonas@devlieghere.com>
Fri, 9 Mar 2018 15:22:42 +0000 (15:22 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Fri, 9 Mar 2018 15:22:42 +0000 (15:22 +0000)
commitbeee6ae8b954383340b48e73029cd8bc722e9554
tree6e605dba49b0d7af7c135384ade33e7c26f1827a
parent5dd777c5de588e4fc25ef3db5797ac7536b4501f
[dsymutil] Unify error handling and add color

We improved the handling of errors and warnings in dwarfdump's verifier
in rL314498. This patch does the same thing for dsymutil.

Differential revision: https://reviews.llvm.org/D44052

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@327137 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/dsymutil/X86/module-warnings.test
test/tools/dsymutil/X86/swift-ast-x86_64.test
tools/dsymutil/DwarfLinker.cpp
tools/dsymutil/dsymutil.h