@@ -2,35 +2,37 @@ REQUIRES: target-windows, msvc
22RUN: mkdir -p %t.dir
33RUN: %build --compiler=clang-cl --mode=compile --arch=32 --nodefaultlib --output=%t.dir/TypeQualsTest.cpp.obj %S/Inputs/TypeQualsTest.cpp
44RUN: %build --compiler=msvc --mode=link --arch=32 --nodefaultlib --output=%t.dir/TypeQualsTest.cpp.exe %t.dir/TypeQualsTest.cpp.obj
5- RUN: lldb-test symbols %t.dir/TypeQualsTest.cpp.exe | FileCheck %s
5+ RUN: env LLDB_USE_NATIVE_PDB_READER=0 lldb-test symbols %t.dir/TypeQualsTest.cpp.exe | FileCheck %s
6+ RUN: env LLDB_USE_NATIVE_PDB_READER=1 lldb-test symbols %t.dir/TypeQualsTest.cpp.exe | FileCheck %s
67
78CHECK: Module [[MOD:.*]]
8- CHECK-DAG: SymbolFile pdb ([[MOD]])
9+ CHECK-DAG: SymbolFile {{(native-)?}} pdb ([[MOD]])
910CHECK-DAG: Type{{.*}} , name = "const int", size = 4, compiler_type = {{.*}} const int
1011CHECK-DAG: Type{{.*}} , size = 4, compiler_type = {{.*}} const int *
1112CHECK-DAG: Type{{.*}} , size = 4, compiler_type = {{.*}} const int **const
1213CHECK-DAG: Type{{.*}} , size = 4, compiler_type = {{.*}} const int *const
1314CHECK-DAG: Type{{.*}} , size = 4, compiler_type = {{.*}} const int *const *
14- CHECK-DAG: Type{{.*}} , name = "Func1", {{.*}}, compiler_type = {{.*}} void (const int *, const int *, const int **const, const int *const *)
15+ CHECK-DAG: Type{{.*}} , {{.*}}, compiler_type = {{.*}} void (const int *, const int *, const int **const, const int *const *)
1516
1617CHECK-DAG: Type{{.*}} , size = 4, compiler_type = {{.*}} volatile int *
17- CHECK-DAG: Type{{.*}} , name = "Func2", {{.*}}, compiler_type = {{.*}} void (volatile int *, volatile int *)
18+ CHECK-DAG: Type{{.*}} , {{.*}}, compiler_type = {{.*}} void (volatile int *, volatile int *)
1819
1920CHECK-DAG: Type{{.*}} , size = 4, compiler_type = {{.*}} int *
2021CHECK-DAG: Type{{.*}} , size = 4, compiler_type = {{.*}} int *&
2122CHECK-DAG: Type{{.*}} , size = 4, compiler_type = {{.*}} int &&
2223CHECK-DAG: Type{{.*}} , size = 4, compiler_type = {{.*}} int &
2324CHECK-DAG: Type{{.*}} , size = 4, compiler_type = {{.*}} const int &
24- CHECK-DAG: Type{{.*}} , name = "Func3", {{.*}}, compiler_type = {{.*}} void (int *&, int &, const int &, int &&)
25+ CHECK-DAG: Type{{.*}} , {{.*}}, compiler_type = {{.*}} void (int *&, int &, const int &, int &&)
2526
2627// FIXME: __unaligned is not supported.
27- CHECK-DAG: Type{{.*}} , name = "Func4", {{.*}}, compiler_type = {{.*}} void (int *, int *)
28+ CHECK-DAG: Type{{.*}} , {{.*}}, compiler_type = {{.*}} void (int *, int *)
2829
2930CHECK-DAG: Type{{.*}} , size = 4, compiler_type = {{.*}} int *__restrict
3031CHECK-DAG: Type{{.*}} , size = 4, compiler_type = {{.*}} int &__restrict
31- CHECK-DAG: Type{{.*}} , name = "Func5", {{.*}}, compiler_type = {{.*}} void (int, int *__restrict, int &__restrict)
32+ CHECK-DAG: Type{{.*}} , {{.*}}, compiler_type = {{.*}} void (int, int *__restrict, int &__restrict)
3233
33- CHECK-DAG: Type{{.*}} , name = "Func6", {{.*}}, compiler_type = {{.*}} void (const volatile int *__restrict)
34+ CHECK-DAG: Type{{.*}} , name = "{{volatile const|const volatile}} int", size = 4, compiler_type = {{.*}} {{volatile const|const volatile}} int
35+ CHECK-DAG: Type{{.*}} , {{.*}}, compiler_type = {{.*}} void (const volatile int *__restrict)
3436
3537CHECK-DAG: Type{{.*}} , size = 400, compiler_type = {{.*}} volatile int *[100]
3638CHECK-DAG: Type{{.*}} , size = 4000, compiler_type = {{.*}} volatile int *[10][100]
0 commit comments