Replace also-emit-llvm with save-temps.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 29 Oct 2014 23:54:45 +0000 (23:54 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 29 Oct 2014 23:54:45 +0000 (23:54 +0000)
commit25016f9d2ee46d257df412a06ae771301bda4a08
treeb7cc92660064568e752c82397ac5f90428e24a59
parent0d36b9d69225633389b3b50075f687b7cb2ac05b
Replace also-emit-llvm with save-temps.

The also-emit-llvm option only supported getting the IR before optimizations.
This patch replaces it with a more generic save-temps option that saves the IR
both before and after optimizations.

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