commit | 192b96e4b803de98d59f4be97d8fa60d932cfefa | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Fri Feb 23 14:00:24 2018 -0800 |
committer | Josh Gao <jmgao@google.com> | Tue Feb 27 14:50:07 2018 -0800 |
tree | 5b13e8583f4832131f24352e1c6d486834b7fb13 | |
parent | d0035bf3837741ff6d2c50bde5e19a6fe410397b [diff] |
adb: stop using quick_exit. We don't actually need to use quick_exit to avoid calling static destructors, since we have -Wexit-time-destructors to guarantee we don't actually have any, and this precludes the use of asan's exit time leak checking, so switch back to atexit/exit. Test: ASAN_OPTIONS=detect_leaks=1:leak_check_at_exit=1 adb server nodaemon with a manually inserted leak Change-Id: Id8178913f64cb02c820c5073351369a9e4d8c74d