summaryrefslogtreecommitdiffstats
path: root/lldb/examples/synthetic/libcxx.py
diff options
context:
space:
mode:
authorEnrico Granata <egranata@apple.com>2013-01-12 01:22:57 +0000
committerEnrico Granata <egranata@apple.com>2013-01-12 01:22:57 +0000
commite274088db052f89254a050c3f255bad9f92ddea5 (patch)
treeb7fee06cf4494f037df9b6febea9004f164b2efd /lldb/examples/synthetic/libcxx.py
parenta7edaad3b66ceb038b6240e32a96e14803e7802c (diff)
downloadbcm5719-llvm-e274088db052f89254a050c3f255bad9f92ddea5.tar.gz
bcm5719-llvm-e274088db052f89254a050c3f255bad9f92ddea5.zip
<rdar://problem/12239827>
Making a summary for std::wstring as provided by libstdc++ along with a relevant test case llvm-svn: 172286
Diffstat (limited to 'lldb/examples/synthetic/libcxx.py')
-rw-r--r--lldb/examples/synthetic/libcxx.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/examples/synthetic/libcxx.py b/lldb/examples/synthetic/libcxx.py
index 815c76f78ad..5037187d956 100644
--- a/lldb/examples/synthetic/libcxx.py
+++ b/lldb/examples/synthetic/libcxx.py
@@ -6,6 +6,9 @@ import lldb.formatters.Logger
# ships with current releases of OS X - They will not work for other implementations
# of the standard C++ library - and they are bound to use the libc++-specific namespace
+# the std::string summary is just an example for your convenience
+# the actual summary that LLDB uses is C++ code inside the debugger's own core
+
# this could probably be made more efficient but since it only reads a handful of bytes at a time
# we probably don't need to worry too much about this for the time being
def make_string(F,L):
OpenPOWER on IntegriCloud