teak-llvm/lldb/packages/Python/lldbsuite/test/lang/cpp
Zachary Turner 48ef8d4c37 Fix some issues with swig & string conversion.
This patch fixes two issues:

1) Popen needs to be used with universal_newlines=True by default.
   This elicits automatic decoding from bytes -> string in Py3,
   and has no negative effects in other Py versions.
2) The swig typemaps for converting between string and (char*, int)
   did not work correctly when the length of the string was 0,
   indicating an error.  In this case we would try to construct a
   string from uninitialized data.
3) Ironically, the bug mentioned in #2 led to a test passing on
   Windows that was actually broken, because the test was written
   such that the assertion was never even getting checked, so it
   passed by default.  So we additionally fix this test to also
   fail if the method errors.  By fixing this test it's now broken
   on Windows, so we also xfail it.

llvm-svn: 253487
2015-11-18 18:40:16 +00:00
..
bool
breakpoint-commands Remove use_lldb_suite from the package, and don't import it anymore. 2015-11-03 19:20:39 +00:00
call-function
chained-calls
char1632_t Remove use_lldb_suite from the package, and don't import it anymore. 2015-11-03 19:20:39 +00:00
class_static Remove use_lldb_suite from the package, and don't import it anymore. 2015-11-03 19:20:39 +00:00
class_types Remove use_lldb_suite from the package, and don't import it anymore. 2015-11-03 19:20:39 +00:00
diamond
dynamic-value Remove use_lldb_suite from the package, and don't import it anymore. 2015-11-03 19:20:39 +00:00
enum_types Remove use_lldb_suite from the package, and don't import it anymore. 2015-11-03 19:20:39 +00:00
exceptions Remove use_lldb_suite from the package, and don't import it anymore. 2015-11-03 19:20:39 +00:00
global_operators
incomplete-types
limit-debug-info
namespace Fix multiple symbol lookup in the same namespace 2015-11-13 11:00:10 +00:00
nsimport
overloaded-functions
rdar12991846 Remove use_lldb_suite from the package, and don't import it anymore. 2015-11-03 19:20:39 +00:00
rvalue-references
scope
signed_types Remove use_lldb_suite from the package, and don't import it anymore. 2015-11-03 19:20:39 +00:00
static_members Remove use_lldb_suite from the package, and don't import it anymore. 2015-11-03 19:20:39 +00:00
static_methods
stl Fixed a testcase problem where disassembly would fail for nameless functions. 2015-11-13 23:00:33 +00:00
this
unique-types Remove use_lldb_suite from the package, and don't import it anymore. 2015-11-03 19:20:39 +00:00
unsigned_types Remove use_lldb_suite from the package, and don't import it anymore. 2015-11-03 19:20:39 +00:00
virtual Fix some issues with swig & string conversion. 2015-11-18 18:40:16 +00:00
wchar_t Remove use_lldb_suite from the package, and don't import it anymore. 2015-11-03 19:20:39 +00:00