<div dir="ltr">Might be worth a bug report and CC'ing some Windows-LLDB type folks on that for notice.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 25, 2021 at 4:11 AM Raphael Isemann via lldb-commits <<a href="mailto:lldb-commits@lists.llvm.org">lldb-commits@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
Author: Raphael Isemann<br>
Date: 2021-05-25T13:10:19+02:00<br>
New Revision: a3a95286a73fddc4027de930fac29728cd4259fc<br>
<br>
URL: <a href="https://github.com/llvm/llvm-project/commit/a3a95286a73fddc4027de930fac29728cd4259fc" rel="noreferrer" target="_blank">https://github.com/llvm/llvm-project/commit/a3a95286a73fddc4027de930fac29728cd4259fc</a><br>
DIFF: <a href="https://github.com/llvm/llvm-project/commit/a3a95286a73fddc4027de930fac29728cd4259fc.diff" rel="noreferrer" target="_blank">https://github.com/llvm/llvm-project/commit/a3a95286a73fddc4027de930fac29728cd4259fc.diff</a><br>
<br>
LOG: [lldb] X-FAIL TestCPPStaticMembers on Windows<br>
<br>
This was originally failed because of <a href="http://llvm.org/pr21765" rel="noreferrer" target="_blank">llvm.org/pr21765</a> which describes that<br>
LLDB can't call a debugee's functions, but I removed the (unnecessary)<br>
function call in the rewrite. It seems that the actual bug here is that we<br>
can't lookup static members at all, so let's X-FAIL the test for the right<br>
reason.<br>
<br>
Added: <br>
<br>
<br>
Modified: <br>
    lldb/test/API/lang/cpp/static_members/TestCPPStaticMembers.py<br>
<br>
Removed: <br>
<br>
<br>
<br>
################################################################################<br>
diff  --git a/lldb/test/API/lang/cpp/static_members/TestCPPStaticMembers.py b/lldb/test/API/lang/cpp/static_members/TestCPPStaticMembers.py<br>
index 8acf498bb7f7..07ec5c52ea4c 100644<br>
--- a/lldb/test/API/lang/cpp/static_members/TestCPPStaticMembers.py<br>
+++ b/lldb/test/API/lang/cpp/static_members/TestCPPStaticMembers.py<br>
@@ -15,7 +15,8 @@ class TestCase(TestBase):<br>
<br>
     mydir = TestBase.compute_mydir(__file__)<br>
<br>
-    @expectedFailureAll(oslist=["windows"], bugnumber="<a href="http://llvm.org/pr21765" rel="noreferrer" target="_blank">llvm.org/pr21765</a>")<br>
+    # We fail to lookup static members on Windows.<br>
+    @expectedFailureAll(oslist=["windows"])<br>
     def test_access_from_main(self):<br>
         self.build()<br>
         lldbutil.run_to_source_breakpoint(self, "// stop in main", lldb.SBFileSpec("main.cpp"))<br>
@@ -24,6 +25,8 @@ def test_access_from_main(self):<br>
         self.expect_expr("my_a.s_b", result_type="long", result_value="2")<br>
         self.expect_expr("my_a.s_c", result_type="int", result_value="3")<br>
<br>
+    # We fail to lookup static members on Windows.<br>
+    @expectedFailureAll(oslist=["windows"])<br>
     def test_access_from_member_function(self):<br>
         self.build()<br>
         lldbutil.run_to_source_breakpoint(self, "// stop in member function", lldb.SBFileSpec("main.cpp"))<br>
<br>
<br>
<br>
_______________________________________________<br>
lldb-commits mailing list<br>
<a href="mailto:lldb-commits@lists.llvm.org" target="_blank">lldb-commits@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits</a><br>
</blockquote></div>