[PATCH] D122372: [lld][COFF] Fix TypeServerSource lookup on GUID collisions
Alexandre Ganea via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 28 19:39:28 PDT 2022
aganea added inline comments.
================
Comment at: lld/COFF/DebugTypes.cpp:71
+ TypeServerSource *tSrc = (TypeServerSource *)it.first->second;
+ warn("GUID collision between " + file.getFilePath() + " and " +
+ tSrc->pdbInputFile->session->getPDBFile().getFilePath());
----------------
aganea wrote:
> Since the issue is in system libs, I wonder if we can detect that and only warn on non-system PDBs? MSVC link.exe doesn't warn. How many warnings do you actually get when linking a production executable?
I wonder if `log()` instead of `warn()` wouldn't be more appropriate here.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122372/new/
https://reviews.llvm.org/D122372
More information about the llvm-commits
mailing list