[lld] r309989 - [PDB] Loosen checks for section contribution sizes

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 3 14:20:41 PDT 2017


Author: rnk
Date: Thu Aug  3 14:20:41 2017
New Revision: 309989

URL: http://llvm.org/viewvc/llvm-project?rev=309989&view=rev
Log:
[PDB] Loosen checks for section contribution sizes

The PDB debug data directory entry has an absolute path in it. This will
make it different on every machine.

Modified:
    lld/trunk/test/COFF/pdb-publics-import.test

Modified: lld/trunk/test/COFF/pdb-publics-import.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/pdb-publics-import.test?rev=309989&r1=309988&r2=309989&view=diff
==============================================================================
--- lld/trunk/test/COFF/pdb-publics-import.test (original)
+++ lld/trunk/test/COFF/pdb-publics-import.test Thu Aug  3 14:20:41 2017
@@ -37,5 +37,5 @@ CHECK-NEXT:         IMAGE_SCN_CNT_CODE |
     .rdata debug directory data chunks
 CHECK-NEXT:   SC  | mod = 1, 0002:0000, size = 28, data crc = 0, reloc crc = 0
 CHECK-NEXT:         IMAGE_SCN_CNT_INITIALIZED_DATA | IMAGE_SCN_MEM_READ
-CHECK-NEXT:   SC  | mod = 1, 0002:0028, size = 110, data crc = 0, reloc crc = 0
+CHECK-NEXT:   SC  | mod = 1, 0002:0028, size = {{.*}}, data crc = 0, reloc crc = 0
 CHECK-NEXT:         IMAGE_SCN_CNT_INITIALIZED_DATA | IMAGE_SCN_MEM_READ




More information about the llvm-commits mailing list