[llvm-bugs] [Bug 50551] New: LLDB fails to lookup symbols of static class members on Windows

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jun 1 05:30:23 PDT 2021


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

            Bug ID: 50551
           Summary: LLDB fails to lookup symbols of static class members
                    on Windows
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: teemperor at gmail.com
                CC: jdevlieghere at apple.com, llvm-bugs at lists.llvm.org

Some tests are currently failing because LLDB on Windows can't look up static
class members:

For example:
```

FAIL: test_access_from_member_function_dwarf (TestCPPStaticMembers.TestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"C:\buildbot\lldb-x64-windows-ninja\llvm-project\lldb\test\API\lang\cpp\static_members\TestCPPStaticMembers.py",
line 31, in test_access_from_member_function
    self.expect_expr("s_b", result_type="long", result_value="2")
  File
"C:\buildbot\lldb-x64-windows-ninja\llvm-project\lldb\packages\Python\lldbsuite\test\lldbtest.py",
line 2593, in expect_expr
    value_check.check_value(self, eval_result, str(eval_result))
  File
"C:\buildbot\lldb-x64-windows-ninja\llvm-project\lldb\packages\Python\lldbsuite\test\lldbtest.py",
line 284, in check_value
    test_base.assertSuccess(val.GetError())
  File
"C:\buildbot\lldb-x64-windows-ninja\llvm-project\lldb\packages\Python\lldbsuite\test\lldbtest.py",
line 2655, in assertSuccess
    "'{}' is not success".format(error)))
AssertionError: 'expression failed to parse:
error: Couldn't lookup symbols:
  long A::s_b
' is not success

```

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210601/17e25387/attachment.html>


More information about the llvm-bugs mailing list