Use object::Archive::create instead of new object::Archive.
authorRafael Espindola <rafael.espindola@gmail.com>
Fri, 1 Aug 2014 18:31:17 +0000 (18:31 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Fri, 1 Aug 2014 18:31:17 +0000 (18:31 +0000)
commitfff7ba35a3576052595a9bcba90a81e40930126c
tree20abbbffbe9b432bef40c0835be851649db15e75
parent5a96b41c7098411204a186712ff3aa988a2c8913
Use object::Archive::create instead of new object::Archive.

Also fix the error handling. No testcaes, issue found by inspection.

Thanks to David Blaikie for the suggestion.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214535 91177308-0d34-0410-b5e6-96231b3b80d8
tools/lli/lli.cpp