diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-01-14 23:51:27 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-01-14 23:51:27 +0000 |
commit | 1dc66089e6e1e5d226ec1f5e98a0612f68def89d (patch) | |
tree | 6df8a2fb819b40fcd1006ca41b1696170e124a27 /include/llvm/IR/Module.h | |
parent | 06a3bddb362ecfc5f3d9ad96301d9b61ef18b552 (diff) | |
download | llvm-1dc66089e6e1e5d226ec1f5e98a0612f68def89d.tar.gz llvm-1dc66089e6e1e5d226ec1f5e98a0612f68def89d.tar.bz2 llvm-1dc66089e6e1e5d226ec1f5e98a0612f68def89d.tar.xz |
Return an error_code from materializeAllPermanently.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199275 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/IR/Module.h')
-rw-r--r-- | include/llvm/IR/Module.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/include/llvm/IR/Module.h b/include/llvm/IR/Module.h index 4bfa9e68aa..b965c9ee56 100644 --- a/include/llvm/IR/Module.h +++ b/include/llvm/IR/Module.h @@ -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 |