diff options
Diffstat (limited to 'lib/IR/DiagnosticInfo.cpp')
-rw-r--r-- | lib/IR/DiagnosticInfo.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/IR/DiagnosticInfo.cpp b/lib/IR/DiagnosticInfo.cpp index 2b1221acdc..bd758830a2 100644 --- a/lib/IR/DiagnosticInfo.cpp +++ b/lib/IR/DiagnosticInfo.cpp @@ -51,3 +51,8 @@ void DiagnosticInfoStackSize::print(DiagnosticPrinter &DP) const { DP << "stack size limit exceeded (" << getStackSize() << ") in " << getFunction(); } + +void DiagnosticInfoDebugMetadataVersion::print(DiagnosticPrinter &DP) const { + DP << "invalid debug metadata version (" << getMetadataVersion() << ") in " + << getModule(); +} |