mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-15 23:57:48 +00:00
make statistics and timing info print even if the JIT'd program calls exit
instead of returning from main. llvm-svn: 32414
This commit is contained in:
parent
3fa703d088
commit
7a39524d63
@ -57,7 +57,7 @@ namespace {
|
||||
// main Driver function
|
||||
//
|
||||
int main(int argc, char **argv, char * const *envp) {
|
||||
llvm_shutdown_obj X; // Call llvm_shutdown() on exit.
|
||||
atexit(llvm_shutdown); // Call llvm_shutdown() on exit.
|
||||
try {
|
||||
cl::ParseCommandLineOptions(argc, argv,
|
||||
" llvm interpreter & dynamic compiler\n");
|
||||
|
Loading…
Reference in New Issue
Block a user