summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp
diff options
context:
space:
mode:
authorSergey Matveev <earthdok@google.com>2015-02-26 14:01:08 +0000
committerSergey Matveev <earthdok@google.com>2015-02-26 14:01:08 +0000
commitc9b2cd5c8c3ba161119171145d21e4604aaf770c (patch)
tree516e44918c038ffa40d4b45f5530555bc7788164 /lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp
parent48fd3f62b964103f22031daed6e44970209a3372 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud