commit | 50576fd2cd0acc90a19b92db123a4c824150f871 | [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 | ecd318da969c20a5ec472341e25ddd13015edc94 | |
parent | 839b932f0c28eab8ff9c1cecd3b55af27baf8439 [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