summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/FormatEntity.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2015-11-19 00:55:45 +0000
committerReid Kleckner <rnk@google.com>2015-11-19 00:55:45 +0000
commit4029426b17e1d4c2ceed61cb086954b60a38eae9 (patch)
tree478ff5e165f3826830b494387fa20c484b08d237 /lldb/source/Core/FormatEntity.cpp
parent3afb80e375c97b01f05942ae5e5127babc962fa6 (diff)
downloadbcm5719-llvm-4029426b17e1d4c2ceed61cb086954b60a38eae9.tar.gz
bcm5719-llvm-4029426b17e1d4c2ceed61cb086954b60a38eae9.zip
[msan] Don't unpoison phdrs on dlopen(NULL, 0)
Summary: dlopen(NULL, ...) is intended to give you back a handle to the executable for use with dlsym. Casting it to link_map and using it with ForEachMappedRegion results in a crash. We also shouldn't unpoison the globals of a DSO that is already in memory. This ensures that we don't do it for the executable, but in general, MSan may have false negatives if the DSO is already loaded. Reviewers: eugenis Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D14795 llvm-svn: 253530
Diffstat (limited to 'lldb/source/Core/FormatEntity.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud