[lld] r336027 - Fix test after S_PROCREF change.
Zachary Turner via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 29 15:41:17 PDT 2018
Author: zturner
Date: Fri Jun 29 15:41:16 2018
New Revision: 336027
URL: http://llvm.org/viewvc/llvm-project?rev=336027&view=rev
Log:
Fix test after S_PROCREF change.
Since the names are being hashed correctly now, enumerating them
returns them in a different order. Update the test to reflect
that.
Modified:
lld/trunk/test/COFF/pdb-comdat.test
lld/trunk/test/COFF/pdb-globals.test
Modified: lld/trunk/test/COFF/pdb-comdat.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/pdb-comdat.test?rev=336027&r1=336026&r2=336027&view=diff
==============================================================================
--- lld/trunk/test/COFF/pdb-comdat.test (original)
+++ lld/trunk/test/COFF/pdb-comdat.test Fri Jun 29 15:41:16 2018
@@ -43,10 +43,10 @@ CHECK-NEXT: ===========================
CHECK-NEXT: Records
CHECK-NEXT: 84 | S_PROCREF [size = 20] `main`
CHECK-NEXT: module = 1, sum name = 0, offset = 120
-CHECK-NEXT: 128 | S_PROCREF [size = 20] `foo`
-CHECK-NEXT: module = 1, sum name = 0, offset = 208
CHECK-NEXT: 148 | S_PROCREF [size = 20] `bar`
CHECK-NEXT: module = 2, sum name = 0, offset = 120
+CHECK-NEXT: 128 | S_PROCREF [size = 20] `foo`
+CHECK-NEXT: module = 1, sum name = 0, offset = 208
CHECK-NEXT: 104 | S_GDATA32 [size = 24] `global`
CHECK-NEXT: type = 0x0074 (int), addr = 0000:0000
CHECK-NEXT: 168 | S_GDATA32 [size = 24] `global`
Modified: lld/trunk/test/COFF/pdb-globals.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/pdb-globals.test?rev=336027&r1=336026&r2=336027&view=diff
==============================================================================
--- lld/trunk/test/COFF/pdb-globals.test (original)
+++ lld/trunk/test/COFF/pdb-globals.test Fri Jun 29 15:41:16 2018
@@ -15,20 +15,20 @@ RUN: llvm-pdbutil dump -symbols -globals
CHECK-LABEL: Global Symbols
CHECK-NEXT: ============================================================
CHECK-NEXT: Records
+CHECK-NEXT: 208 | S_LPROCREF [size = 24] `LocalFunc`
+CHECK-NEXT: module = 1, sum name = 0, offset = 292
CHECK-NEXT: 160 | S_PROCREF [size = 28] `GlobalFunc`
CHECK-NEXT: module = 1, sum name = 0, offset = 52
CHECK-NEXT: 188 | S_PROCREF [size = 20] `main`
CHECK-NEXT: module = 1, sum name = 0, offset = 108
-CHECK-NEXT: 208 | S_LPROCREF [size = 24] `LocalFunc`
-CHECK-NEXT: module = 1, sum name = 0, offset = 292
-CHECK-NEXT: 312 | S_PROCREF [size = 40] `HelloPoint::HelloPoint`
-CHECK-NEXT: module = 1, sum name = 0, offset = 376
CHECK-NEXT: 232 | S_GDATA32 [size = 28] `__purecall`
CHECK-NEXT: type = 0x0403 (void*), addr = 0003:0004
CHECK-NEXT: 260 | S_GDATA32 [size = 24] `GlobalVar`
CHECK-NEXT: type = 0x100B (const int*), addr = 0003:0000
CHECK-NEXT: 284 | S_LDATA32 [size = 28] `ConstantVar`
CHECK-NEXT: type = 0x100A (const int), addr = 0002:0000
+CHECK-NEXT: 312 | S_PROCREF [size = 40] `HelloPoint::HelloPoint`
+CHECK-NEXT: module = 1, sum name = 0, offset = 376
CHECK-LABEL: Symbols
CHECK-NEXT: ============================================================
More information about the llvm-commits
mailing list