llvm.org GIT mirror llvm / ca3aa26
make statistics and timing info print even if the JIT'd program calls exit instead of returning from main. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32414 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 12 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
5656 // main Driver function
5757 //
5858 int main(int argc, char **argv, char * const *envp) {
59 llvm_shutdown_obj X; // Call llvm_shutdown() on exit.
59 atexit(llvm_shutdown); // Call llvm_shutdown() on exit.
6060 try {
6161 cl::ParseCommandLineOptions(argc, argv,
6262 " llvm interpreter & dynamic compiler\n");