Enhancements to pass argc & argv to main if required

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@909 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2001-10-18 21:55:32 +00:00
parent b7e711838f
commit f8f2afb8cc
5 changed files with 75 additions and 3 deletions

View File

@@ -86,6 +86,9 @@ public:
static void print(const Type *Ty, GenericValue V);
static void printValue(const Type *Ty, GenericValue V);
// Hack until we can parse command line args...
bool callMainMethod(const string &MainName,
const string &InputFilename);
void list(); // Do the 'list' command
void printStackTrace(); // Do the 'backtrace' command