diff options
| author | Adrian McCarthy <amccarth@google.com> | 2015-10-13 17:54:15 +0000 |
|---|---|---|
| committer | Adrian McCarthy <amccarth@google.com> | 2015-10-13 17:54:15 +0000 |
| commit | 1d34f74470deedd80f76593958c9fd1a66c6bff0 (patch) | |
| tree | e5c03140c91c1a6ead69968376dd1ab2b3cd8103 /lldb/scripts | |
| parent | 1732340bfa11a27619e816c8b689d352392b8dce (diff) | |
| download | bcm5719-llvm-1d34f74470deedd80f76593958c9fd1a66c6bff0.tar.gz bcm5719-llvm-1d34f74470deedd80f76593958c9fd1a66c6bff0.zip | |
Fix TestTargetAPI.py test for users who use Swig 3.0.5 or greater.
DifferentialRevision: http://reviews.llvm.org/D13679
llvm-svn: 250188
Diffstat (limited to 'lldb/scripts')
| -rw-r--r-- | lldb/scripts/interface/SBError.i | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/scripts/interface/SBError.i b/lldb/scripts/interface/SBError.i index d8dece2b22d..bebf2d7d72a 100644 --- a/lldb/scripts/interface/SBError.i +++ b/lldb/scripts/interface/SBError.i @@ -56,6 +56,7 @@ And (from test/python_api/event/TestEvent.py), checks that after calling the target.Launch() method there's no error condition and we get back a void process object. ") SBError; + class SBError { public: SBError (); @@ -94,6 +95,7 @@ public: void SetErrorString (const char *err_str); + %varargs(3, char *str = NULL) SetErrorStringWithFormat; int SetErrorStringWithFormat (const char *format, ...); |

