Return an error_code from materializeAllPermanently.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199275 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola
2014-01-14 23:51:27 +00:00
parent 06a3bddb36
commit 1dc66089e6
7 changed files with 25 additions and 21 deletions

View File

@@ -454,12 +454,10 @@ public:
/// Make sure all GlobalValues in this Module are fully read.
error_code materializeAll();
/// MaterializeAllPermanently - Make sure all GlobalValues in this Module are
/// fully read and clear the Materializer. If the module is corrupt, this
/// returns true, fills in the optional string with information about the
/// problem, and DOES NOT clear the old Materializer. If successful, this
/// returns false.
bool MaterializeAllPermanently(std::string *ErrInfo = 0);
/// Make sure all GlobalValues in this Module are fully read and clear the
/// Materializer. If the module is corrupt, this DOES NOT clear the old
/// Materializer.
error_code materializeAllPermanently();
/// @}
/// @name Direct access to the globals list, functions list, and symbol table