]> granicus.if.org Git - llvm/commit
Dispose the codegen even when just writing the bitcode file.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 3 Oct 2013 00:07:30 +0000 (00:07 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 3 Oct 2013 00:07:30 +0000 (00:07 +0000)
commit75a641c910adb9df1de015de41cbf02570677bf8
treea59cdd68dd71af6c4b7093a734edd5d8aae45988
parent4897e263906aa3c88e0a135f18ea9bd2af2676e5
Dispose the codegen even when just writing the bitcode file.

This makes it possible to add timers to the code generator and still use them
with -plugin-opt=emit-llvm.

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