1. Handle errors around the ModuleProvider. This is necessary since it is
authorReid Spencer <rspencer@reidspencer.com>
Sat, 3 Mar 2007 18:21:44 +0000 (18:21 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sat, 3 Mar 2007 18:21:44 +0000 (18:21 +0000)
commitf70d67750102509d0192c58ab5ddf4e450b5f114
tree9d929558b69c26f5df3d38a977120177b8a6c0c3
parentd4c0e62413ac4c81467ce59025c81210ea431752
1. Handle errors around the ModuleProvider. This is necessary since it is
   reading bytecode.
2. The interpreter can delete the ModuleProvider and replace it with
   another so don't depend on it being around after the EE is created.
3. Don't just run llvm_shutdown on exit but actually delete the EE as well.
   This cleans up a vast amount of memory (but not all) that EE retained
   through exit.

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