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.

llvm-svn: 121605
This commit is contained in:
Johnny Chen committed 2010-12-11 01:20:39 +00:00
1 parent 92da705261
commit f6eaba85a8
5 files changed
+51 -8

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ using namespace lldb;
using namespace lldb_private;
SBStream::SBStream () :
m_opaque_ap (),
m_opaque_ap (new StreamString()),
m_is_file (false)
{
}