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 | acfecd92165951a13feef7efdc73a491bc1cb5e8 (patch) | |
| tree | 499fe42dcb3b6bbd31bfbaeff09398b34e02e2ac /libcutils/socket_local_server_unix.cpp | |
| parent | 4958f196743090e1a3314bc7795861dafb665438 (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 'libcutils/socket_local_server_unix.cpp')
0 files changed, 0 insertions, 0 deletions
