Using addPassesToEmitWholeFile is not a good idea here.
authorDevang Patel <dpatel@apple.com>
Thu, 7 Sep 2006 21:41:11 +0000 (21:41 +0000)
committerDevang Patel <dpatel@apple.com>
Thu, 7 Sep 2006 21:41:11 +0000 (21:41 +0000)
commit998051a2211a5f86b38941de0aca241b34895e1e
tree964ea5cd6ea05fd26430e884b500c539b554866b
parent76ed7b1cf5d3f70b28753d4f0f39a7a4cc956a64
Using addPassesToEmitWholeFile is not a good idea here.
Use FunctionPassManager to do the job.

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