Lines Matching refs:hashes
1 RUN: yaml2obj %p/Inputs/obj-hashes-1.yaml -o %T/obj-hashes-1.obj
2 RUN: yaml2obj %p/Inputs/obj-hashes-2.yaml -o %T/obj-hashes-2.obj
3 RUN: echo obj-hashes-1 > %T/hashes-combined.out
4 RUN: llvm-pdbutil dump -type-extras %T/obj-hashes-1.obj >> %T/hashes-combined.out
5 RUN: echo obj-hashes-2 >> %T/hashes-combined.out
6 RUN: llvm-pdbutil dump -type-extras %T/obj-hashes-2.obj >> %T/hashes-combined.out
7 RUN: cat %T/hashes-combined.out | FileCheck --check-prefix=CHECK-ONE %s
8 RUN: cat %T/hashes-combined.out | FileCheck --check-prefix=CHECK-TWO %s
9 RUN: cat %T/hashes-combined.out | FileCheck --check-prefix=CHECK-THREE %s
10 RUN: cat %T/hashes-combined.out | FileCheck --check-prefix=CHECK-FOUR %s
11 RUN: cat %T/hashes-combined.out | FileCheck --check-prefix=CHECK-FIVE %s
12 RUN: cat %T/hashes-combined.out | FileCheck --check-prefix=CHECK-SIX %s
14 ; char**. Both the local and global hashes should be the same, since the only
16 CHECK-ONE: obj-hashes-1
18 CHECK-ONE: obj-hashes-2
21 ; int**. Same as char**, both the local and global hashes should be the same.
22 CHECK-TWO: obj-hashes-1
24 CHECK-TWO: obj-hashes-2
27 ; int***. Different local hashes, since the referent type (int**) is not at the
30 CHECK-THREE: obj-hashes-1
32 CHECK-THREE: obj-hashes-2
35 ; arg list (char**, int***). Different local hashes, since the parameter types
39 CHECK-FOUR: obj-hashes-1
41 CHECK-FOUR: obj-hashes-2
45 CHECK-FIVE: obj-hashes-1
46 CHECK-FIVE: obj-hashes-2
50 ; these two records have the same global hash but different local hashes.
51 CHECK-SIX: obj-hashes-1
53 CHECK-SIX: obj-hashes-2