Replace ReaderError with DynamicError.
authorRui Ueyama <ruiu@google.com>
Mon, 15 Dec 2014 12:20:13 +0000 (12:20 +0000)
committerRui Ueyama <ruiu@google.com>
Mon, 15 Dec 2014 12:20:13 +0000 (12:20 +0000)
commit7da4037c81308eef1aa67ecded1b70226ae27987
treea5a50659491a11ebded9a669930cb9db459dbbd0
parent2b27fc78a25f12e700e36ca53ae62f14c81a1276
Replace ReaderError with DynamicError.

ReaderErrorCategory was used only at one place. We now have a
DynamicErrorCategory for this kind of one-time error, so use it.
The calling function doesn't really care the type of an error, so
ReaderErrorCategory was actually dead code.

llvm-svn: 224245
lld/include/lld/Core/Error.h
lld/lib/Core/Error.cpp
lld/lib/Driver/GnuLdDriver.cpp