Author: Michael Buch
Date: 2023-02-10T18:49:55Z
New Revision: f889d6f9d05b2b1bd188ddf40b3d38a3488c212e

URL: 
https://github.com/llvm/llvm-project/commit/f889d6f9d05b2b1bd188ddf40b3d38a3488c212e
DIFF: 
https://github.com/llvm/llvm-project/commit/f889d6f9d05b2b1bd188ddf40b3d38a3488c212e.diff

LOG: [lldb][Test] TestExternalCtorDtorLookup.py: skip on Windows and dwo

Also make expected mangling more flexible since it's different
between Linux and Darwin

Differential Revision: https://reviews.llvm.org/D143652

Added: 
    

Modified: 
    
lldb/test/API/lang/cpp/external_ctor_dtor_lookup/TestExternalCtorDtorLookup.py

Removed: 
    


################################################################################
diff  --git 
a/lldb/test/API/lang/cpp/external_ctor_dtor_lookup/TestExternalCtorDtorLookup.py
 
b/lldb/test/API/lang/cpp/external_ctor_dtor_lookup/TestExternalCtorDtorLookup.py
index 027fd8e39d078..72015363a1794 100644
--- 
a/lldb/test/API/lang/cpp/external_ctor_dtor_lookup/TestExternalCtorDtorLookup.py
+++ 
b/lldb/test/API/lang/cpp/external_ctor_dtor_lookup/TestExternalCtorDtorLookup.py
@@ -13,6 +13,8 @@
 
 class ExternalCtorDtorLookupTestCase(TestBase):
 
+    @skipIf(debug_info="dwo")
+    @skipIfWindows
     def test(self):
         self.build()
         lldbutil.run_to_source_breakpoint(self, 'b\.getWrapper\(\)',
@@ -25,6 +27,6 @@ def test(self):
 # CHECK:           | `-RecordType {{.*}} 'Foo'
 # CHECK:           |   `-CXXRecord {{.*}} 'Foo'
 # CHECK:           |-CXXConstructorDecl {{.*}} Wrapper 'void ()'
-# CHECK-NEXT:      | `-AsmLabelAttr {{.*}} Implicit 
"_ZN7WrapperI3FooEC1B4testEv"
+# CHECK-NEXT:      | `-AsmLabelAttr {{.*}} Implicit 
"_ZN7WrapperI3Foo{{.*}}testEv"
 # CHECK-NEXT:      `-CXXDestructorDecl {{.*}} ~Wrapper 'void ()'
-# CHECK-NEXT:        `-AsmLabelAttr {{.*}} Implicit 
"_ZN7WrapperI3FooED1B4testEv"
+# CHECK-NEXT:        `-AsmLabelAttr {{.*}} Implicit 
"_ZN7WrapperI3Foo{{.*}}testEv"


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to