Add a method "getMainFunction()" that efficiently locates 'main' in a module
authorChris Lattner <sabre@nondot.org>
Fri, 8 Nov 2002 20:34:02 +0000 (20:34 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 8 Nov 2002 20:34:02 +0000 (20:34 +0000)
commita9a93f37779bbab41d73142aa5e4beb43089696e
tree8acb3c0486be4adca091be28c260ffe1930839e0
parentd321593330f0e3c9a1cabf688e7e964f7bda09f5
Add a method "getMainFunction()" that efficiently locates 'main' in a module

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4629 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Module.h
lib/VMCore/Module.cpp