Add test_display_source_python() test case to TestSourceManager.py which uses
the lldb PyThon API SBSourceManager to display source files.
To accomodate this, the C++ SBSourceManager API has been changed to take an
lldb::SBStream as the destination for display of source lines. Modify SBStream::ctor()
so that its opaque pointer is initialized with an StreamString instance.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121605 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/API/SBStream.cpp b/source/API/SBStream.cpp
index 55714fd..b8a18a1 100644
--- a/source/API/SBStream.cpp
+++ b/source/API/SBStream.cpp
@@ -17,7 +17,7 @@
using namespace lldb_private;
SBStream::SBStream () :
- m_opaque_ap (),
+ m_opaque_ap (new StreamString()),
m_is_file (false)
{
}