[llvm-branch-commits] [lld] 6acfc3a - Fix build after eaadb41db6233cf1c9e882d74a31c1f9d6e211ff when the MSVC libs are not in PATH.

Alexandre Ganea via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Jan 7 15:56:51 PST 2021


Author: Alexandre Ganea
Date: 2021-01-07T18:52:00-05:00
New Revision: 6acfc3a78210639367ab8345a9af04e97692a661

URL: https://github.com/llvm/llvm-project/commit/6acfc3a78210639367ab8345a9af04e97692a661
DIFF: https://github.com/llvm/llvm-project/commit/6acfc3a78210639367ab8345a9af04e97692a661.diff

LOG: Fix build after eaadb41db6233cf1c9e882d74a31c1f9d6e211ff when the MSVC libs are not in PATH.

Added: 
    

Modified: 
    lld/test/COFF/precomp-ghash.test

Removed: 
    


################################################################################
diff  --git a/lld/test/COFF/precomp-ghash.test b/lld/test/COFF/precomp-ghash.test
index e9d1984ac40d..6dcd8a35002e 100644
--- a/lld/test/COFF/precomp-ghash.test
+++ b/lld/test/COFF/precomp-ghash.test
@@ -4,7 +4,7 @@
 
 RUN: lld-link %p/Inputs/precomp-ghash-precomp.obj \
 RUN:    %p/Inputs/precomp-ghash-obj1.obj\
-RUN:    %p/Inputs/precomp-ghash-obj2.obj /debug:ghash /out:%t.exe /pdb:%t.pdb
+RUN:    %p/Inputs/precomp-ghash-obj2.obj /debug:ghash /out:%t.exe /pdb:%t.pdb /nodefaultlib /force
 RUN: llvm-pdbutil dump -types -ids %t.pdb | FileCheck %s
 
 ; These object files were generated via the following inputs and commands:
@@ -44,10 +44,10 @@ RUN: llvm-pdbutil dump -types -ids %t.pdb | FileCheck %s
 CHECK:                           Types (TPI Stream)
 CHECK-NEXT: ============================================================
 CHECK:   0x1003 | LF_MFUNCTION
-CHECK:   0x274F | LF_PROCEDURE
+CHECK:   0x1377 | LF_PROCEDURE
 CHECK:                     Types (IPI Stream)                     
 CHECK-NEXT: ============================================================
-CHECK:   0x189D | LF_FUNC_ID [size = 20]
-CHECK-NEXT:       name = main, type = 0x274F, parent scope = <no type>
-CHECK-NEXT:  0x189E | LF_MFUNC_ID [size = 20]
+CHECK:   0x10A5 | LF_FUNC_ID [size = 20]
+CHECK-NEXT:       name = main, type = 0x1377, parent scope = <no type>
+CHECK-NEXT:  0x10A6 | LF_MFUNC_ID [size = 20]
 CHECK-NEXT:           name = {ctor}, type = 0x1003, class type = 0x1000


        


More information about the llvm-branch-commits mailing list