Modernize the error handling of the Materialize function.
authorRafael Espindola <rafael.espindola@gmail.com>
Fri, 24 Oct 2014 22:50:48 +0000 (22:50 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Fri, 24 Oct 2014 22:50:48 +0000 (22:50 +0000)
commitc498284e46864744036b9e167cb960058618a4fc
tree629a68cfc6e4ad43e6854dfbb379a17c944c2ab5
parent44ccedc273eb5a30f51e1cd6bda95e697e754e94
Modernize the error handling of the Materialize function.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220600 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
include/llvm/IR/GVMaterializer.h
include/llvm/IR/GlobalValue.h
include/llvm/IR/Module.h
lib/Bitcode/Reader/BitcodeReader.cpp
lib/Bitcode/Reader/BitcodeReader.h
lib/IR/Globals.cpp
lib/IR/LegacyPassManager.cpp
lib/IR/Module.cpp
lib/Linker/LinkModules.cpp
tools/gold/gold-plugin.cpp
tools/llvm-extract/llvm-extract.cpp
unittests/Bitcode/BitReaderTest.cpp