[all-commits] [llvm/llvm-project] 0dfa8a: [LLD][COFF] Fix TypeServerSource matcher with more...

Tobias Hieta via All-commits all-commits at lists.llvm.org
Thu Apr 7 00:33:59 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0dfa8a019d9a64d7706eb82bdb083fd9b815e088
      https://github.com/llvm/llvm-project/commit/0dfa8a019d9a64d7706eb82bdb083fd9b815e088
  Author: Tobias Hieta <tobias at hieta.se>
  Date:   2022-04-07 (Thu, 07 Apr 2022)

  Changed paths:
    M lld/COFF/DebugTypes.cpp
    M lld/test/COFF/pdb-type-server-guid-collision-invalid.test
    M lld/test/COFF/pdb-type-server-guid-collision-valid.test

  Log Message:
  -----------
  [LLD][COFF] Fix TypeServerSource matcher with more than one collision

Follow-up from 98bc304e9faded44f1d8988ffa4c5d8b50c759ec - while that
commit fixed when you had two PDBs colliding on the same Guid it didn't
fix the case where you had more than two PDBs using the same Guid.

This commit fixes that and also tests much more carefully that all
the types are correct no matter the order.

Reviewed By: aganea, saudi

Differential Revision: https://reviews.llvm.org/D123185




More information about the All-commits mailing list