Change BitcodeReader to use error_code instead of bool + string.

In order to create an ObjectFile implementation that uses bitcode files, we
need to propagate the bitcode errors to the ObjectFile interface, so we need
to convert it to use the same error handling as ObjectFile: error_code.

llvm-svn: 193996
This commit is contained in:
Rafael Espindola
2013-11-04 16:16:24 +00:00
parent e0ccdb1a28
commit 48da4f4691
4 changed files with 494 additions and 380 deletions

File diff suppressed because it is too large Load Diff