hanchenye-llvm-project/lld/lib/Core
Pete Cooper eadf9e4ec9 Remove unused variants of make_dynamic_error_code. NFC.
make_dynamic_error_code was used to create a std::error_code with
a std::string message.  Now that we are migrating to llvm::Error,
there are no calls to these make_dynamic_error_code methods.

There is one single call to make_dynamic_error_code remaining, the one
inside GenericError::convertToErrorCode().  That method is only called
from File::doParse() which should be a temporary situation.  We need
to work out how to deal with File::parse() caching the error result from
doParse().  Caching errors isn't supported in the new scheme, and probably
isn't needed here, but we need to work that out.

Once thats done, dynamic error and all utilities around it can be deleted.

llvm-svn: 264982
2016-03-31 01:21:50 +00:00
..
CMakeLists.txt Set CMake ADDITIONAL_HEADER_DIRS on libraries with headers in /include. NFC. 2016-01-07 00:14:09 +00:00
DefinedAtom.cpp Delete more ELF bits from the old linker. 2016-02-28 16:03:37 +00:00
Error.cpp Remove unused variants of make_dynamic_error_code. NFC. 2016-03-31 01:21:50 +00:00
File.cpp Use owning pointers instead of raw pointers for Atom's to fix leaks. 2016-03-22 17:15:50 +00:00
LinkingContext.cpp Convert lld file writing to llvm::Error. NFC. 2016-03-30 23:10:39 +00:00
Reader.cpp Delete more ELF bits from the old linker. 2016-02-28 16:03:37 +00:00
Resolver.cpp Fix -Wpessimizing-move warnings. 2016-03-30 22:40:16 +00:00
SymbolTable.cpp Remove dead code for ELF. 2016-02-28 21:59:02 +00:00
Writer.cpp Replace the `createImplicitFiles` method return type with `void` 2015-04-06 20:43:35 +00:00