Skip to content

[lldb] Fix buildbots after PR 74786 #75272

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 13, 2023
Merged

Conversation

clayborg
Copy link
Collaborator

Fix unexpected pass after #74786.

@llvmbot
Copy link
Member

llvmbot commented Dec 13, 2023

@llvm/pr-subscribers-lldb

Author: Greg Clayton (clayborg)

Changes

Fix unexpected pass after #74786.


Full diff: https://github.com/llvm/llvm-project/pull/75272.diff

1 Files Affected:

  • (modified) lldb/test/API/lang/cpp/union-static-data-members/TestCppUnionStaticMembers.py (+1-1)
diff --git a/lldb/test/API/lang/cpp/union-static-data-members/TestCppUnionStaticMembers.py b/lldb/test/API/lang/cpp/union-static-data-members/TestCppUnionStaticMembers.py
index 1988e997499b2..dff23da8662a0 100644
--- a/lldb/test/API/lang/cpp/union-static-data-members/TestCppUnionStaticMembers.py
+++ b/lldb/test/API/lang/cpp/union-static-data-members/TestCppUnionStaticMembers.py
@@ -42,7 +42,7 @@ def test_expr_union_static_members(self):
                 name="val", value="42"
             )])
 
-    @expectedFailureAll
+    @expectedFailureWindows
     def test_union_in_anon_namespace(self):
         """Tests that frame variable and expr work
            for union static data members in anonymous

@clayborg
Copy link
Collaborator Author

This test now passes after the new type lookup stuff went in due to improved lookups!

@clayborg
Copy link
Collaborator Author

Also fixed the SymbolFilePDBTests unit test code. I can't compile windows code, if anyone on windows can help try to build the SymbolFilePDBTests cmake target and then run the resulting binary to see if it passes that would really help. The perf win for this patch is quite high, so any help in getting this tested would really help out. The build must have the LLVM_ENABLE_DIA_SDK cmake variable set.

Copy link
Member

@Michael137 Michael137 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! lgtm

@DavidSpickett
Copy link
Collaborator

Going to merge this to fix the bots.

Our Windows bot does have the DIA SDK installed, but I don't know if it's being used. We'll see, if it breaks, I'll deal with it.

@DavidSpickett DavidSpickett merged commit dcbf1e4 into llvm:main Dec 13, 2023
Michael137 pushed a commit to Michael137/llvm-project that referenced this pull request Dec 15, 2023
Fix unexpected pass after
llvm#74786.

(cherry picked from commit dcbf1e4)
Michael137 pushed a commit to Michael137/llvm-project that referenced this pull request Jan 18, 2024
Fix unexpected pass after
llvm#74786.

(cherry picked from commit dcbf1e4)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants