Modules are consumed when they are merged together by Linker.
authorDevang Patel <dpatel@apple.com>
Mon, 8 Jan 2007 18:42:27 +0000 (18:42 +0000)
committerDevang Patel <dpatel@apple.com>
Mon, 8 Jan 2007 18:42:27 +0000 (18:42 +0000)
commit27376106d94017a72fc602bd9279a6f9fd3018da
treea41b685544a07b64b4ad1da600c73a5a77735687
parent43f344a26695ba85a1a0b5407c038d9c3f980327
Modules are consumed when they are merged together by Linker.
Clear modules vector so that destructure does not try to
delete these modules again. Patch by Chandler Carruth.

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