[lld] r363466 - Include the file in the new unknown codeview subsection warning

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 14 15:03:24 PDT 2019


Author: rnk
Date: Fri Jun 14 15:03:23 2019
New Revision: 363466

URL: http://llvm.org/viewvc/llvm-project?rev=363466&view=rev
Log:
Include the file in the new unknown codeview subsection warning

Modified:
    lld/trunk/COFF/PDB.cpp

Modified: lld/trunk/COFF/PDB.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/COFF/PDB.cpp?rev=363466&r1=363465&r2=363466&view=diff
==============================================================================
--- lld/trunk/COFF/PDB.cpp (original)
+++ lld/trunk/COFF/PDB.cpp Fri Jun 14 15:03:23 2019
@@ -1058,7 +1058,7 @@ void DebugSHandler::handleDebugS(lld::co
 
     default:
       warn("ignoring unknown debug$S subsection kind 0x" +
-           utohexstr(uint32_t(SS.kind())));
+           utohexstr(uint32_t(SS.kind())) + " in file " + toString(&File));
       break;
     }
   }




More information about the llvm-commits mailing list