summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/CodeView/CodeViewError.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2017-02-16 23:35:45 +0000
committerZachary Turner <zturner@google.com>2017-02-16 23:35:45 +0000
commit7b327d051b12f90e4650a8ac48cd3f7b3ee1c4e9 (patch)
tree8bf152120db1248d4f0a38028cda19909986f907 /llvm/lib/DebugInfo/CodeView/CodeViewError.cpp
parent55aaa844cb12923529c9ff128be22cdaddcce9dd (diff)
downloadbcm5719-llvm-7b327d051b12f90e4650a8ac48cd3f7b3ee1c4e9.tar.gz
bcm5719-llvm-7b327d051b12f90e4650a8ac48cd3f7b3ee1c4e9.zip
[pdb] Add the ability to resolve TypeServer PDBs.
Some PDBs or object files can contain references to other PDBs where the real type information lives. When this happens, all type indices in the original PDB are meaningless because their records are not there. With this patch we add the ability to pull type info from those secondary PDBs. Differential Revision: https://reviews.llvm.org/D29973 llvm-svn: 295382
Diffstat (limited to 'llvm/lib/DebugInfo/CodeView/CodeViewError.cpp')
-rw-r--r--llvm/lib/DebugInfo/CodeView/CodeViewError.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/DebugInfo/CodeView/CodeViewError.cpp b/llvm/lib/DebugInfo/CodeView/CodeViewError.cpp
index 55c10c076ee..8de266b836b 100644
--- a/llvm/lib/DebugInfo/CodeView/CodeViewError.cpp
+++ b/llvm/lib/DebugInfo/CodeView/CodeViewError.cpp
@@ -31,6 +31,8 @@ public:
"bytes.";
case cv_error_code::corrupt_record:
return "The CodeView record is corrupted.";
+ case cv_error_code::no_records:
+ return "There are no records";
case cv_error_code::operation_unsupported:
return "The requested operation is not supported.";
case cv_error_code::unknown_member_record:
OpenPOWER on IntegriCloud