[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


https://bugs.llvm.org/show_bug.cgi?id=37371

            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
-DLLVM_ENABLE_ASSERTIONS=ON
-DLLVM_ENABLE_DIA_SDK=ON

Here is the log for one of the tests:

 ##[error]CUSTOMBUILD(0,0): Error : test_mips_n32
(TestLinuxCore.LinuxCoreTestCase)
 ##[debug]Processed: ##vso[task.logissue
type=Error;sourcepath=CUSTOMBUILD;linenumber=0;columnnumber=0;code=;]test_mips_n32
(TestLinuxCore.LinuxCoreTestCase)
      3>CUSTOMBUILD : error : test_mips_n32 (TestLinuxCore.LinuxCoreTestCase)
[E:\_work\1\b\tools\lldb\lit\check-lldb-lit.vcxproj]

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

         
----------------------------------------------------------------------

          Traceback (most recent call last):

            File
"E:\_work\1\s\llvm\tools\lldb\packages\Python\lldbsuite\test\functionalities\postmortem\elf-core\TestLinuxCore.py",
line 57, in test_mips_n32

              self._mips_regions, "linux-mips64el-")

            File
"E:\_work\1\s\llvm\tools\lldb\packages\Python\lldbsuite\test\functionalities\postmortem\elf-core\TestLinuxCore.py",
line 314, in do_test

              self.check_memory_regions(process, region_count)

            File
"E:\_work\1\s\llvm\tools\lldb\packages\Python\lldbsuite\test\functionalities\postmortem\elf-core\TestLinuxCore.py",
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,
region_info)

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

          Config=x86_64-E:\_work\1\b\release\bin\clang.exe

-- 
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