Rafael Espindola fff7ba35a3 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
2014-08-01 18:31:17 +00:00
..
2014-07-31 19:32:04 +00:00
2014-08-01 14:31:55 +00:00
2014-05-08 19:30:17 +00:00
2014-08-01 14:31:55 +00:00
2014-08-01 06:16:03 +00:00
2014-08-01 14:31:55 +00:00
2014-08-01 14:57:05 +00:00
2014-08-01 14:31:55 +00:00
2014-06-13 16:12:08 +00:00