[Lldb-commits] [PATCH] D116901: [lldb] Guard libstdc++ specific 'frame var' test

Dave Lee via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Sun Jan 9 21:37:59 PST 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rG4a8549354c1b: [lldb] Guard libstdc++ specific 'frame var' test (authored by kastiglione).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D116901/new/

https://reviews.llvm.org/D116901

Files:
  lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/list/TestDataFormatterGenericList.py


Index: lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/list/TestDataFormatterGenericList.py
===================================================================
--- lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/list/TestDataFormatterGenericList.py
+++ lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/list/TestDataFormatterGenericList.py
@@ -62,12 +62,14 @@
         self.expect("frame variable numbers_list --raw", matching=False,
                     substrs=['size=0',
                              '{}'])
-        self.expect(
-            "frame variable &numbers_list._M_impl._M_node --raw",
-            matching=False,
-            substrs=[
-                'size=0',
-                '{}'])
+
+        if stdlib_type == USE_LIBSTDCPP:
+            self.expect(
+                "frame variable &numbers_list._M_impl._M_node --raw",
+                matching=False,
+                substrs=[
+                    'size=0',
+                    '{}'])
 
         self.expect("frame variable numbers_list",
                     substrs=['size=0',


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116901.398507.patch
Type: text/x-patch
Size: 1127 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220110/3cc093e1/attachment-0001.bin>


More information about the lldb-commits mailing list