[PATCH] D66466: [LLD] [COFF] Print the file name on errors writing the pdb file

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 20 11:55:52 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL369425: [COFF] Print the file name on errors writing the pdb file (authored by mstorsjo, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D66466?vs=216095&id=216204#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D66466/new/

https://reviews.llvm.org/D66466

Files:
  lld/trunk/COFF/PDB.cpp


Index: lld/trunk/COFF/PDB.cpp
===================================================================
--- lld/trunk/COFF/PDB.cpp
+++ lld/trunk/COFF/PDB.cpp
@@ -1693,6 +1693,7 @@
 }
 
 void PDBLinker::commit(codeview::GUID *guid) {
+  ExitOnError exitOnErr((config->pdbPath + ": ").str());
   // Write to a file.
   exitOnErr(builder.commit(config->pdbPath, guid));
 }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66466.216204.patch
Type: text/x-patch
Size: 364 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190820/eccf0185/attachment.bin>


More information about the llvm-commits mailing list