commit | ab89892e3098d4d9ec186c6dd22d903c5835437c | [log] [tgz] |
---|---|---|
author | Pirama Arumuga Nainar <pirama@google.com> | Thu Jan 04 10:37:48 2018 -0800 |
committer | Pirama Arumuga Nainar <pirama@google.com> | Fri Jan 12 08:19:24 2018 -0800 |
tree | 5cf3ec089d49e0a913cd4d38b111d0c1cfef6896 | |
parent | b612f9ad3c6a23d9eef1a86a5c29db1ac9374604 [diff] |
Do not call _exit() for PGO instrumentation Bug: http://b/63768402 For PGO instrumentation, the profiles are written by an atexit callback. Exit normally and do not call _exit() when PGO instrumentation is hinted with the ANDROID_PGO_INSTRUMENTATION build flag. Test: Build and verify that the atexit() callbcak is invoked during PGO instrumentation. Change-Id: I5024d965627392aee5a04e106946bb47ca48b5d6