Skip to content

Commit

Permalink
[lldb][Test] TestExternalCtorDtorLookup.py: skip on Windows and dwo
Browse files Browse the repository at this point in the history
Also make expected mangling more flexible since it's different
between Linux and Darwin

Differential Revision: https://reviews.llvm.org/D143652
  • Loading branch information
Michael137 committed Feb 10, 2023
1 parent c8b8d6b commit f889d6f
Showing 1 changed file with 4 additions and 2 deletions.
Expand Up @@ -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\(\)',
Expand All @@ -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"

0 comments on commit f889d6f

Please sign in to comment.