From 4b2957243bca25b584373fdd8594a308df102368 Mon Sep 17 00:00:00 2001 From: Alexandre Ganea Date: Thu, 8 Nov 2018 14:42:37 +0000 Subject: [LLD] Fix Microsoft precompiled headers cross-compile on Linux Differential revision: https://reviews.llvm.org/D54122 llvm-svn: 346403 --- llvm/lib/DebugInfo/PDB/GenericError.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'llvm/lib/DebugInfo/PDB/GenericError.cpp') diff --git a/llvm/lib/DebugInfo/PDB/GenericError.cpp b/llvm/lib/DebugInfo/PDB/GenericError.cpp index 5f5ff69fe3f..256952073e8 100644 --- a/llvm/lib/DebugInfo/PDB/GenericError.cpp +++ b/llvm/lib/DebugInfo/PDB/GenericError.cpp @@ -34,6 +34,8 @@ public: return "The PDB file path is an invalid UTF8 sequence."; case pdb_error_code::signature_out_of_date: return "The signature does not match; the file(s) might be out of date."; + case pdb_error_code::external_cmdline_ref: + return "The path to this file must be provided on the command-line."; } llvm_unreachable("Unrecognized generic_error_code"); } -- cgit v1.2.3