summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/PluginManager.cpp
diff options
context:
space:
mode:
authorMichael Sartain <mikesart@valvesoftware.com>2013-07-17 00:26:30 +0000
committerMichael Sartain <mikesart@valvesoftware.com>2013-07-17 00:26:30 +0000
commit3cf443ddd63fa219f3681ec3ca837cc1c0dc0829 (patch)
tree41474f4cf6264ad8af717f0bdec6a71714c7ec3a /lldb/source/Core/PluginManager.cpp
parentdfb7687162d9e19313d4bf97a68324d2221a3a36 (diff)
downloadbcm5719-llvm-3cf443ddd63fa219f3681ec3ca837cc1c0dc0829.tar.gz
bcm5719-llvm-3cf443ddd63fa219f3681ec3ca837cc1c0dc0829.zip
simple plugin now works with Linux fix assert in SetPluginInfo implement Linux ePathTypeLLDBSystemPlugins and ePathTypeLLDBUserPlugins implement Linux Host::Backtrace and Host::GetEnvironment add .gnu_debugdata comment
Differential Revision: http://llvm-reviews.chandlerc.com/D1159 llvm-svn: 186475
Diffstat (limited to 'lldb/source/Core/PluginManager.cpp')
-rw-r--r--lldb/source/Core/PluginManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Core/PluginManager.cpp b/lldb/source/Core/PluginManager.cpp
index 7647b1b9504..7a2d3772e6c 100644
--- a/lldb/source/Core/PluginManager.cpp
+++ b/lldb/source/Core/PluginManager.cpp
@@ -75,7 +75,7 @@ SetPluginInfo (const FileSpec &plugin_file_spec, const PluginInfo &plugin_info)
{
Mutex::Locker locker (GetPluginMapMutex ());
PluginTerminateMap &plugin_map = GetPluginMap ();
- assert (plugin_map.find (plugin_file_spec) != plugin_map.end());
+ assert (plugin_map.find (plugin_file_spec) == plugin_map.end());
plugin_map[plugin_file_spec] = plugin_info;
}
OpenPOWER on IntegriCloud