llvm-project/lld/lib/Driver
Pete Cooper d0a643e7dc Change library search methods to return Optional instead of ErrorOr.
These methods weren't really throwing errors.  The only error used
was that a file could not be found, which isn't really an error at all
as we are searching paths and libraries for a file.  All of the callers
also ignored errors and just used the returned path if one was available.

Changing to return Optional<StringRef> as that actually reflects what
we are trying to do here: optionally find a given path.

llvm-svn: 264979
2016-03-31 01:09:35 +00:00
..
CMakeLists.txt Merge DarwinLdDriver and Driver. 2016-03-02 19:08:05 +00:00
DarwinLdDriver.cpp Change library search methods to return Optional instead of ErrorOr. 2016-03-31 01:09:35 +00:00
DarwinLdOptions.td Add cmdline options for LC_DATA_IN_CODE load command. 2016-02-09 02:10:39 +00:00