commit | a28c827fdb58ec489931d6e70e27818619bc1b75 | [log] [tgz] |
---|---|---|
author | Roland Levillain <rpl@google.com> | Fri Apr 30 17:09:10 2021 +0100 |
committer | Roland Levillain <rpl@google.com> | Fri May 07 09:13:03 2021 +0000 |
tree | 038448d3d8d2922c05296b60b1280c3ed3f596b6 | |
parent | 7eedd447cb5a4904acf80123ef813a7b8dead9a2 [diff] |
Use `quick_exit` instead of `_exit` (except for error handling). Replace every occurrence of `_exit` (for cases other than pure error handling) with `quick_exit`, in order to allow functions registered with `at_quick_exit` to be called before exiting. In particular, this change will allow LLVM's code coverage profile dumping routine to be called before exiting ART processes. Test: mmma art Test: ART tests Bug: 186576313 Change-Id: Ia9b0dbb471e2a26600c8bd23f7567931d050fc9d