summaryrefslogtreecommitdiffstats
path: root/llvm
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
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')
-rw-r--r--llvm/include/llvm/DebugInfo/PDB/GenericError.h1
-rw-r--r--llvm/lib/DebugInfo/PDB/GenericError.cpp2
2 files changed, 3 insertions, 0 deletions
diff --git a/llvm/include/llvm/DebugInfo/PDB/GenericError.h b/llvm/include/llvm/DebugInfo/PDB/GenericError.h
index 7b5a8529596..997f13f5f30 100644
--- a/llvm/include/llvm/DebugInfo/PDB/GenericError.h
+++ b/llvm/include/llvm/DebugInfo/PDB/GenericError.h
@@ -21,6 +21,7 @@ enum class pdb_error_code {
dia_sdk_not_present,
dia_failed_loading,
signature_out_of_date,
+ external_cmdline_ref,
unspecified,
};
} // namespace pdb
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