[lld] r310764 - Fix some broken tests.

Zachary Turner via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 11 14:14:01 PDT 2017


Author: zturner
Date: Fri Aug 11 14:14:01 2017
New Revision: 310764

URL: http://llvm.org/viewvc/llvm-project?rev=310764&view=rev
Log:
Fix some broken tests.

These were pending in a separate patch but I forgot to squash them
before comitting, and this one didn't go through.

Modified:
    lld/trunk/COFF/PDB.cpp
    lld/trunk/test/COFF/pdb-linker-module.test

Modified: lld/trunk/COFF/PDB.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/COFF/PDB.cpp?rev=310764&r1=310763&r2=310764&view=diff
==============================================================================
--- lld/trunk/COFF/PDB.cpp (original)
+++ lld/trunk/COFF/PDB.cpp Fri Aug 11 14:14:01 2017
@@ -739,10 +739,10 @@ static void addCommonLinkerModuleSymbols
   ONS.Signature = 0;
 
   CS.Machine = Config->is64() ? CPUType::X64 : CPUType::Intel80386;
-  // Interestingly, if we set the string to 0.0.0.0, then when trying to view
-  // local variables WinDbg emits an error that private symbols are not present.
-  // By setting this to a valid MSVC linker version string, local variables are
-  // displayed properly.   As such, even though it is not representative of
+  // Interestingly, if we set the string to 0.0.0.0, then when trying to view
+  // local variables WinDbg emits an error that private symbols are not present.
+  // By setting this to a valid MSVC linker version string, local variables are
+  // displayed properly.   As such, even though it is not representative of
   // LLVM's version information, we need this for compatibility.
   CS.Flags = CompileSym3Flags::None;
   CS.VersionBackendBuild = 25019;

Modified: lld/trunk/test/COFF/pdb-linker-module.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/pdb-linker-module.test?rev=310764&r1=310763&r2=310764&view=diff
==============================================================================
--- lld/trunk/test/COFF/pdb-linker-module.test (original)
+++ lld/trunk/test/COFF/pdb-linker-module.test Fri Aug 11 14:14:01 2017
@@ -5,7 +5,7 @@ CHECK:      Mod 0001 | `* Linker *`:
 CHECK-NEXT:  4 | S_OBJNAME [size = 20] sig=0, `* Linker *`
 CHECK-NEXT: 24 | S_COMPILE3 [size = 40]
 CHECK-NEXT:      machine = intel 80386, Ver = LLVM Linker, language = link
-CHECK-NEXT:      frontend = 0.0.0.0, backend = 0.0.0.0
+CHECK-NEXT:      frontend = 0.0.0.0, backend = 14.10.25019.0
 CHECK-NEXT:      flags = none
 CHECK-NEXT: 64 | S_ENVBLOCK
 CHECK-NEXT: - cwd




More information about the llvm-commits mailing list