summaryrefslogtreecommitdiff
path: root/debuggerd/handler/debuggerd_handler.cpp
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2017-10-23 14:25:08 -0700
committerJosh Gao <jmgao@google.com>2017-10-26 14:20:17 -0700
commite22701ee8a8246e9648a60ebdbed2c415c103c91 (patch)
tree499fe42dcb3b6bbd31bfbaeff09398b34e02e2ac /debuggerd/handler/debuggerd_handler.cpp
parentb9670bb437d493f834c6ba3096946583d2904b72 (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