If a module has a main, but it is defined externally, refuse to run it.
authorChris Lattner <sabre@nondot.org>
Thu, 1 Dec 2005 22:48:23 +0000 (22:48 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 1 Dec 2005 22:48:23 +0000 (22:48 +0000)
commit48ba8221af97cc76cb2018ceac490d7b5d0fa6ff
treef16d0b654b54f5ea3accc47c2f815251c5f15e20
parent9ad17c9c9abfd6e011751d2fd2b03448e1dccb71
If a module has a main, but it is defined externally, refuse to run it.

Attempting to run it will find lli's main, which isn't the desired effect.

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