commit | 4a2c9dd7630ce51a660e1aa14e10bc6fbc4621c4 | [log] [tgz] |
---|---|---|
author | Iliyan Malchev <malchev@google.com> | Mon Apr 02 08:20:56 2012 -0700 |
committer | Andrew Hsieh <andrewhsieh@google.com> | Fri Jun 01 13:33:28 2012 +0800 |
tree | 6f0e66780f8364eab816fa0b3fac081462963a37 | |
parent | 4912ddd4570cef75a9434b12eff707b3c834cc05 [diff] |
replace _exit() with exit() When the emulator is compiled with -pg, it generates a stats file (gmon.out) upon exiting, as long as the exit it done when main() returns normally or exit() is called. Calling _exit() or exiting via an unhandled signal will not cause gmon.out to be generated. Change-Id: I0d5ea5a0b0314f97d2fdc0c92fd6f38c65377eb9 Signed-off-by: Iliyan Malchev <malchev@google.com>