[lldb-dev] [Bug 37371] New: All tests in LinuxCoreTestCase fail on Windows

via lldb-dev lldb-dev at lists.llvm.org
Tue May 8 09:23:24 PDT 2018


            Bug ID: 37371
           Summary: All tests in LinuxCoreTestCase fail on Windows
           Product: lldb
           Version: 6.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: stilis at microsoft.com
                CC: llvm-bugs at lists.llvm.org

All the tests in LinuxCoreTestCase currently fail on Windows. Half of them were
disabled without a comment - I've disabled the rest. They are all failing in
the same way.

This was tested on Windows 10 with Visual Studio as the generator and Python 3.
The exact CMake options are:

-DPYTHON_HOME=C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64
-DCMAKE_BUILD_TYPE=release -G Visual Studio 15 2017 Win64 -Thost=x64

Here is the log for one of the tests:

 ##[error]CUSTOMBUILD(0,0): Error : test_mips_n32
 ##[debug]Processed: ##vso[task.logissue
      3>CUSTOMBUILD : error : test_mips_n32 (TestLinuxCore.LinuxCoreTestCase)

              Test that lldb can read the process information from an MIPS N32
linux core file


          Traceback (most recent call last):

line 57, in test_mips_n32

              self._mips_regions, "linux-mips64el-")

line 314, in do_test

              self.check_memory_regions(process, region_count)

line 228, in check_memory_regions

              middle_address, region_at_middle)

            File "E:\_work\1\b\release\lib\site-packages\lldb\__init__.py",
line 8628, in GetMemoryRegionInfo

              return _lldb.SBProcess_GetMemoryRegionInfo(self, load_addr,

          TypeError: in method 'SBProcess_GetMemoryRegionInfo', argument 2 of
type 'lldb::addr_t'


You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20180508/08e2836e/attachment.html>

More information about the lldb-dev mailing list