[Lldb-commits] [lldb] r351703 - Try to port tests to AST dump changes

Stephen Kelly via lldb-commits lldb-commits at lists.llvm.org
Sun Jan 20 14:56:03 PST 2019


Author: steveire
Date: Sun Jan 20 14:56:02 2019
New Revision: 351703

URL: http://llvm.org/viewvc/llvm-project?rev=351703&view=rev
Log:
Try to port tests to AST dump changes

Modified:
    lldb/trunk/lit/SymbolFile/NativePDB/ast-functions.cpp
    lldb/trunk/lit/SymbolFile/NativePDB/function-types-classes.cpp
    lldb/trunk/lit/SymbolFile/NativePDB/global-classes.cpp
    lldb/trunk/lit/SymbolFile/NativePDB/globals-fundamental.cpp
    lldb/trunk/lit/SymbolFile/NativePDB/local-variables.cpp

Modified: lldb/trunk/lit/SymbolFile/NativePDB/ast-functions.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lit/SymbolFile/NativePDB/ast-functions.cpp?rev=351703&r1=351702&r2=351703&view=diff
==============================================================================
--- lldb/trunk/lit/SymbolFile/NativePDB/ast-functions.cpp (original)
+++ lldb/trunk/lit/SymbolFile/NativePDB/ast-functions.cpp Sun Jan 20 14:56:02 2019
@@ -23,7 +23,6 @@ int main(int argc, char **argv) {
 // CHECK-NEXT: | |-ParmVarDecl {{.*}} argc 'int'
 // CHECK-NEXT: | `-ParmVarDecl {{.*}} argv 'char **'
 // CHECK-NEXT: |-FunctionDecl {{.*}} static_fn 'int ()' static
-// CHECK-NEXT: |-FunctionDecl {{.*}} varargs_fn 'int (int, int, ...)'
-// CHECK-NEXT: | |-ParmVarDecl {{.*}} x 'int'
-// CHECK-NEXT: | `-ParmVarDecl {{.*}} y 'int'
-// CHECK-NEXT: `-<undeserialized declarations>
+// CHECK-NEXT: `-FunctionDecl {{.*}} varargs_fn 'int (int, int, ...)'
+// CHECK-NEXT:   |-ParmVarDecl {{.*}} x 'int'
+// CHECK-NEXT:   `-ParmVarDecl {{.*}} y 'int'

Modified: lldb/trunk/lit/SymbolFile/NativePDB/function-types-classes.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lit/SymbolFile/NativePDB/function-types-classes.cpp?rev=351703&r1=351702&r2=351703&view=diff
==============================================================================
--- lldb/trunk/lit/SymbolFile/NativePDB/function-types-classes.cpp (original)
+++ lldb/trunk/lit/SymbolFile/NativePDB/function-types-classes.cpp Sun Jan 20 14:56:02 2019
@@ -117,8 +117,8 @@ auto incomplete = &three<Incomplete*, In
 // CHECK: |-VarDecl {{.*}} c 'U (*)(volatile E *, volatile S &, volatile C &&)'
 // CHECK: |-VarDecl {{.*}} d 'C (*)(const volatile U *, const volatile E &, const volatile S &&)'
 // CHECK: |-CXXRecordDecl {{.*}} struct B
-// CHECK: | |-CXXRecordDecl {{.*}} struct A
-// CHECK: | | |-CXXRecordDecl {{.*}} struct S
+// CHECK: | `-CXXRecordDecl {{.*}} struct A
+// CHECK: |   |-CXXRecordDecl {{.*}} struct S
 // CHECK: |-NamespaceDecl {{.*}} A
 // CHECK: | |-CXXRecordDecl {{.*}} struct C
 // CHECK: | | |-CXXRecordDecl {{.*}} struct S

Modified: lldb/trunk/lit/SymbolFile/NativePDB/global-classes.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lit/SymbolFile/NativePDB/global-classes.cpp?rev=351703&r1=351702&r2=351703&view=diff
==============================================================================
--- lldb/trunk/lit/SymbolFile/NativePDB/global-classes.cpp (original)
+++ lldb/trunk/lit/SymbolFile/NativePDB/global-classes.cpp Sun Jan 20 14:56:02 2019
@@ -362,8 +362,7 @@ constexpr References ReferencesInstance;
 // CHECK: | |-FieldDecl {{.*}} k 'double &'
 // CHECK: | |-FieldDecl {{.*}} l 'unsigned long long &'
 // CHECK: | `-FieldDecl {{.*}} m 'long long &'
-// CHECK: |-VarDecl {{.*}} ReferencesInstance 'const References'
-// CHECK: `-<undeserialized declarations>
+// CHECK: `-VarDecl {{.*}} ReferencesInstance 'const References'
 
 int main(int argc, char **argv) {
   return 0;

Modified: lldb/trunk/lit/SymbolFile/NativePDB/globals-fundamental.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lit/SymbolFile/NativePDB/globals-fundamental.cpp?rev=351703&r1=351702&r2=351703&view=diff
==============================================================================
--- lldb/trunk/lit/SymbolFile/NativePDB/globals-fundamental.cpp (original)
+++ lldb/trunk/lit/SymbolFile/NativePDB/globals-fundamental.cpp Sun Jan 20 14:56:02 2019
@@ -870,8 +870,7 @@ const wchar_t &CRWCP = WCP;
 // CHECK-NEXT: |-VarDecl {{.*}} CRC16_24 'const char16_t &'
 // CHECK-NEXT: |-VarDecl {{.*}} CRC32_42 'const char32_t &'
 // CHECK-NEXT: |-VarDecl {{.*}} CRWC1 'const wchar_t &'
-// CHECK-NEXT: |-VarDecl {{.*}} CRWCP 'const wchar_t &'
-// CHECK-NEXT: `-<undeserialized declarations>
+// CHECK-NEXT: `-VarDecl {{.*}} CRWCP 'const wchar_t &'
 
 // CHECK: (lldb) quit
 

Modified: lldb/trunk/lit/SymbolFile/NativePDB/local-variables.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lit/SymbolFile/NativePDB/local-variables.cpp?rev=351703&r1=351702&r2=351703&view=diff
==============================================================================
--- lldb/trunk/lit/SymbolFile/NativePDB/local-variables.cpp (original)
+++ lldb/trunk/lit/SymbolFile/NativePDB/local-variables.cpp Sun Jan 20 14:56:02 2019
@@ -156,6 +156,6 @@ int main(int argc, char **argv) {
 // CHECK-NEXT: |-FunctionDecl {{.*}} main 'int (int, char **)'
 // CHECK-NEXT: | |-ParmVarDecl {{.*}} argc 'int'
 // CHECK-NEXT: | `-ParmVarDecl {{.*}} argv 'char **'
-// CHECK-NEXT: |-FunctionDecl {{.*}} Function 'int (int, char)'
-// CHECK-NEXT: | |-ParmVarDecl {{.*}} Param1 'int'
-// CHECK-NEXT: | `-ParmVarDecl {{.*}} Param2 'char'
+// CHECK-NEXT: `-FunctionDecl {{.*}} Function 'int (int, char)'
+// CHECK-NEXT:   |-ParmVarDecl {{.*}} Param1 'int'
+// CHECK-NEXT:   `-ParmVarDecl {{.*}} Param2 'char'




More information about the lldb-commits mailing list