diff options
| author | Sergey Matveev <earthdok@google.com> | 2015-02-26 14:01:08 +0000 |
|---|---|---|
| committer | Sergey Matveev <earthdok@google.com> | 2015-02-26 14:01:08 +0000 |
| commit | c9b2cd5c8c3ba161119171145d21e4604aaf770c (patch) | |
| tree | 516e44918c038ffa40d4b45f5530555bc7788164 /lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp | |
| parent | 48fd3f62b964103f22031daed6e44970209a3372 (diff) | |
| download | bcm5719-llvm-c9b2cd5c8c3ba161119171145d21e4604aaf770c.tar.gz bcm5719-llvm-c9b2cd5c8c3ba161119171145d21e4604aaf770c.zip | |
LSan: fix a deadlock caused by dl_iterate_phdr().
Wrap the StopTheWorld call in a dl_iterate_phdr() callback. This ensures that no
other threads are holding the libdl lock, and we can safely reenter it in the
tracer thread.
llvm-svn: 230631
Diffstat (limited to 'lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp')
0 files changed, 0 insertions, 0 deletions

