gold-plugin: save the .o when given -save-temps.
authorRafael Espindola <rafael.espindola@gmail.com>
Mon, 15 Jun 2015 13:36:27 +0000 (13:36 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Mon, 15 Jun 2015 13:36:27 +0000 (13:36 +0000)
commit99e760ad9eab87036f7d142916940ff9c948cfc8
treef78ffa15b984dd4445eede1f5913617435509305
parentad0b09d10ebd7a3b540d52ef8c3ee1d181af3d1c
gold-plugin: save the .o when given -save-temps.

The plugin now save the bitcode before and after optimizations and the
.o that is passed to the linker.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239726 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/gold/emit-llvm.ll
tools/gold/gold-plugin.cpp