summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/PDB/Raw/RawError.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2016-06-16 18:22:27 +0000
committerZachary Turner <zturner@google.com>2016-06-16 18:22:27 +0000
commit01ee3dae043e305adaf2f8b46dffdbfe901ce24e (patch)
treec89a93cda93a6c76eb0b6e07cef4d32d450fb9ff /llvm/lib/DebugInfo/PDB/Raw/RawError.cpp
parent5a07687a8e0c670352063b5eca7a4aa6baa546e5 (diff)
downloadbcm5719-llvm-01ee3dae043e305adaf2f8b46dffdbfe901ce24e.tar.gz
bcm5719-llvm-01ee3dae043e305adaf2f8b46dffdbfe901ce24e.zip
Resubmit "[pdb] Change type visitor pattern to be dynamic."
There was a regression introduced during type stream merging when visiting a field list record. This has been fixed in this patch. llvm-svn: 272929
Diffstat (limited to 'llvm/lib/DebugInfo/PDB/Raw/RawError.cpp')
-rw-r--r--llvm/lib/DebugInfo/PDB/Raw/RawError.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/DebugInfo/PDB/Raw/RawError.cpp b/llvm/lib/DebugInfo/PDB/Raw/RawError.cpp
index 07aebb7d739..eb169f70e11 100644
--- a/llvm/lib/DebugInfo/PDB/Raw/RawError.cpp
+++ b/llvm/lib/DebugInfo/PDB/Raw/RawError.cpp
@@ -32,6 +32,8 @@ public:
return "The specified block address is not valid.";
case raw_error_code::not_writable:
return "The PDB does not support writing.";
+ case raw_error_code::invalid_tpi_hash:
+ return "The Type record has an invalid hash value.";
}
llvm_unreachable("Unrecognized raw_error_code");
}
OpenPOWER on IntegriCloud