summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/Module.cpp
diff options
context:
space:
mode:
authorEnrico Granata <egranata@apple.com>2014-08-16 00:32:58 +0000
committerEnrico Granata <egranata@apple.com>2014-08-16 00:32:58 +0000
commitfe7295dcf586a2b4913fec2fd74e03e7ea7c45ec (patch)
tree104ca8f1d42e510d39f80e2cb63a42807dc92728 /lldb/source/Core/Module.cpp
parentb23bad11e792210b1c8d494941dbd85ca05bd943 (diff)
downloadbcm5719-llvm-fe7295dcf586a2b4913fec2fd74e03e7ea7c45ec.tar.gz
bcm5719-llvm-fe7295dcf586a2b4913fec2fd74e03e7ea7c45ec.zip
In order for the debug script filename to be valid as a module name, LLDB does some textual replacements. However, if one were unaware of this, they might name their script using the 'untampered' file name and they would get no feedback about it. Add logic to LLDB to make sure we tell people about those changes if it turns out they might need to know. Fixes rdar://14310572
llvm-svn: 215798
Diffstat (limited to 'lldb/source/Core/Module.cpp')
-rw-r--r--lldb/source/Core/Module.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Core/Module.cpp b/lldb/source/Core/Module.cpp
index d337a8832b1..e06a458a17f 100644
--- a/lldb/source/Core/Module.cpp
+++ b/lldb/source/Core/Module.cpp
@@ -1532,7 +1532,8 @@ Module::LoadScriptingResourceInTarget (Target *target, Error& error, Stream* fee
}
FileSpecList file_specs = platform_sp->LocateExecutableScriptingResources (target,
- *this);
+ *this,
+ feedback_stream);
const uint32_t num_specs = file_specs.GetSize();
OpenPOWER on IntegriCloud