[lld] r321885 - Fix unhandled switch values.

Zachary Turner via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 5 11:28:39 PST 2018


Author: zturner
Date: Fri Jan  5 11:28:39 2018
New Revision: 321885

URL: http://llvm.org/viewvc/llvm-project?rev=321885&view=rev
Log:
Fix unhandled switch values.

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=321885&r1=321884&r2=321885&view=diff
==============================================================================
--- lld/trunk/COFF/PDB.cpp (original)
+++ lld/trunk/COFF/PDB.cpp Fri Jan  5 11:28:39 2018
@@ -440,6 +440,8 @@ recordStringTableReferences(SymbolKind K
     log("Not fixing up string table reference in S_DEFRANGE / "
         "S_DEFRANGE_SUBFIELD record");
     break;
+  default:
+    break;
   }
 }
 




More information about the llvm-commits mailing list