summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/PDB/GenericError.cpp
diff options
context:
space:
mode:
authorAlexandre Ganea <alexandre.ganea@ubisoft.com>2018-11-08 14:42:37 +0000
committerAlexandre Ganea <alexandre.ganea@ubisoft.com>2018-11-08 14:42:37 +0000
commit4b2957243bca25b584373fdd8594a308df102368 (patch)
tree6d707081b319b504552335c3e5c8c7ed41d51b63 /llvm/lib/DebugInfo/PDB/GenericError.cpp
parentb917740ac3caa9e627a2497a2c9db318eaa63188 (diff)
downloadbcm5719-llvm-4b2957243bca25b584373fdd8594a308df102368.tar.gz
bcm5719-llvm-4b2957243bca25b584373fdd8594a308df102368.zip
[LLD] Fix Microsoft precompiled headers cross-compile on Linux
Differential revision: https://reviews.llvm.org/D54122 llvm-svn: 346403
Diffstat (limited to 'llvm/lib/DebugInfo/PDB/GenericError.cpp')
-rw-r--r--llvm/lib/DebugInfo/PDB/GenericError.cpp2
1 files changed, 2 insertions, 0 deletions
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");
}
OpenPOWER on IntegriCloud