[Lldb-commits] [PATCH] D116863: [lldb] Remove anon struct from frame-var-anon-unions test

Dave Lee via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Sat Jan 15 10:22:02 PST 2022


This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rGa7e7f541c081: [lldb] Remove anon struct from frame-var-anon-unions test (authored by kastiglione).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D116863

Files:
  lldb/test/API/lang/cpp/frame-var-anon-unions/TestFrameVariableAnonymousUnions.py
  lldb/test/API/lang/cpp/frame-var-anon-unions/main.cpp


Index: lldb/test/API/lang/cpp/frame-var-anon-unions/main.cpp
===================================================================
--- lldb/test/API/lang/cpp/frame-var-anon-unions/main.cpp
+++ lldb/test/API/lang/cpp/frame-var-anon-unions/main.cpp
@@ -3,11 +3,6 @@
     int i;
     char c;
   };
-  struct {
-    int x;
-    char y;
-    short z;
-  } s{3,'B',14};
   i = 0xFFFFFF00;
   c = 'A';
   return c; // break here
Index: lldb/test/API/lang/cpp/frame-var-anon-unions/TestFrameVariableAnonymousUnions.py
===================================================================
--- lldb/test/API/lang/cpp/frame-var-anon-unions/TestFrameVariableAnonymousUnions.py
+++ lldb/test/API/lang/cpp/frame-var-anon-unions/TestFrameVariableAnonymousUnions.py
@@ -29,7 +29,3 @@
             self.expect('frame variable -f x i', substrs=['41ffff00'])
 
         self.expect('frame variable c', substrs=["'A"])
-
-        self.expect('frame variable x', matching=False, substrs=['3'])
-        self.expect('frame variable y', matching=False, substrs=["'B'"])
-        self.expect('frame variable z', matching=False, substrs=['14'])


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116863.400304.patch
Type: text/x-patch
Size: 1116 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220115/80cd676c/attachment.bin>


More information about the lldb-commits mailing list