[Lldb-commits] [PATCH] D68188: allow arbitrary python streams to be converted to SBFile

Jan Kratochvil via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 10 05:13:04 PDT 2019


jankratochvil added a comment.

Fixed now by rL374322 <https://reviews.llvm.org/rL374322>, there was a regression - Linux Fedora 30 x86_64:

  ======================================================================
  ERROR: test_exceptions (TestFileHandle.FileHandleTestCase)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/home/jkratoch/redhat/llvm-monorepo2/lldb/packages/Python/lldbsuite/test/python_api/file_handle/TestFileHandle.py", line 483, in test_exceptions
      self.assertRaises(TypeError, lldb.SBFile, None)
    File "/home/jkratoch/redhat/llvm-monorepo2/lldb/third_party/Python/module/unittest2/unittest2/case.py", line 534, in assertRaises
      callableObj(*args, **kwargs)
    File "/home/jkratoch/redhat/llvm-monorepo2-clangassert/lib/python2.7/site-packages/lldb/__init__.py", line 5334, in __init__
      this = _lldb.new_SBFile(*args)
  NotImplementedError: Wrong number or type of arguments for overloaded function 'new_SBFile'.
    Possible C/C++ prototypes are:
      lldb::SBFile::SBFile()
      lldb::SBFile::SBFile(int,char const *,bool)
      lldb::SBFile::SBFile(lldb::FileSP)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68188/new/

https://reviews.llvm.org/D68188





More information about the lldb-commits mailing list