Skip to content

Commit 4c0308b

Browse files
committed
[lldb][Test] Fix TestFrameFormatNameWithArgs.test on Linux
Be less strict about the `std::` namespace string. Depending on platform it may contain an inline namespace, e.g., `__1`. (cherry picked from commit 9dd413a)
1 parent 1106164 commit 4c0308b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lldb/test/Shell/Settings/TestFrameFormatNameWithArgs.test

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@ break set -n returns_func_ptr
77
run
88
# CHECK: frame int ns::foo<int ()>(t={{.*}})
99
c
10-
# CHECK: frame int ns::foo<std::__1::function<int ()>>(t= Function = bar() )
10+
# CHECK: frame int ns::foo<std::{{.*}}function<int ()>>(t= Function = bar() )
1111
c
1212
# CHECK: frame int ns::foo<(anonymous namespace)::$_0>(t={{.*}})
1313
c
14-
# CHECK: frame int ns::foo<std::__1::function<int ()>>(t= Function = (anonymous namespace)::anon_bar() )
14+
# CHECK: frame int ns::foo<std::{{.*}}function<int ()>>(t= Function = (anonymous namespace)::anon_bar() )
1515
c
16-
# CHECK: frame int ns::foo<void (Foo::*)(std::__1::function<int (int)> const&) const noexcept>(t={{.*}})
16+
# CHECK: frame int ns::foo<void (Foo::*)(std::{{.*}}function<int (int)> const&) const noexcept>(t={{.*}})
1717
c
1818
# CHECK: frame ns::returns_func_ptr<int>((null)={{.*}})
1919
c
20-
# CHECK: frame void Foo::foo<std::__1::function<int ()>>(this={{.*}}, t= Function = bar() ) const
20+
# CHECK: frame void Foo::foo<std::{{.*}}function<int ()>>(this={{.*}}, t= Function = bar() ) const
2121
c
22-
# CHECK: frame void Foo::foo<std::__1::function<int ()>>(this={{.*}}, t= Function = (anonymous namespace)::anon_bar() ) const
22+
# CHECK: frame void Foo::foo<std::{{.*}}function<int ()>>(this={{.*}}, t= Function = (anonymous namespace)::anon_bar() ) const
2323
c
2424
# CHECK: frame void Foo::operator<<<1ul>(this={{.*}}, (null)=0)
2525
c

0 commit comments

Comments
 (0)