diff options
author | Josh Gao <jmgao@google.com> | 2017-10-23 14:25:08 -0700 |
---|---|---|
committer | Josh Gao <jmgao@google.com> | 2017-10-26 14:20:17 -0700 |
commit | e22701ee8a8246e9648a60ebdbed2c415c103c91 (patch) | |
tree | 499fe42dcb3b6bbd31bfbaeff09398b34e02e2ac /debuggerd/handler/debuggerd_handler.cpp | |
parent | b9670bb437d493f834c6ba3096946583d2904b72 (diff) |
libbacktrace: remove exit time destructors.
If libbacktrace is statically linked into a library that interposes
libc, exit-time destructors can lead to a segfault upon exit if static
variables are used after their destruction.
Remove the one use of a static variable (with inconsequential
performance impact of less than 1us per backtrace), and enable
-Wexit-time-destructors to ensure this stays fixed in the future.
Test: mma
Change-Id: Icdaf1cf1c1f166cf501d9ecd1983c44e4305f7e9
Diffstat (limited to 'debuggerd/handler/debuggerd_handler.cpp')
0 files changed, 0 insertions, 0 deletions