[llvm-mc] Make error handling more consistent.
authorJonas Devlieghere <jonas@devlieghere.com>
Sun, 22 Apr 2018 08:01:35 +0000 (08:01 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Sun, 22 Apr 2018 08:01:35 +0000 (08:01 +0000)
commitc976aa7dc705fc176d6f258dd8a1e19d39ecb8de
tree60e631e6cc74d9a51eb9a49edb460bb799e68164
parent578c04949739cb02459716345036e56e39520fc5
[llvm-mc] Make error handling more consistent.

Makes error handling more consistent by using the helpers in support.

llvm-svn: 330536
llvm/test/MC/AsmParser/defsym_error2.s
llvm/tools/llvm-mc/llvm-mc.cpp