[ThinLTO] Release files in gold plugin during combined index (take 2)
authorTeresa Johnson <tejohnson@google.com>
Thu, 10 Dec 2015 16:11:23 +0000 (16:11 +0000)
committerTeresa Johnson <tejohnson@google.com>
Thu, 10 Dec 2015 16:11:23 +0000 (16:11 +0000)
commitc818b3ef569b17e053f332b4a0eb36f1f0cb696e
treee84888b279a5973d78ea012b688bd4605ae8be69
parent0abf891ab8b4fca8d59b107796125fe1026e9abb
[ThinLTO] Release files in gold plugin during combined index (take 2)

Ensure we release the files even when they don't hold a function index
summary section, by restructuring the control flow a little bit.

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