From ea4e60754e0556b0f28be36220354831ae532816 Mon Sep 17 00:00:00 2001 From: Zachary Turner Date: Wed, 15 Mar 2017 22:18:53 +0000 Subject: [pdb] Write the module info and symbol record streams. Previously we did not have support for writing detailed module information for each module, as well as the symbol records. This patch adds support for this, and in doing so enables the ability to construct minimal PDBs from just a few lines of YAML. A test is added to illustrate this functionality. llvm-svn: 297900 --- llvm/lib/DebugInfo/PDB/Native/RawError.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'llvm/lib/DebugInfo/PDB/Native/RawError.cpp') diff --git a/llvm/lib/DebugInfo/PDB/Native/RawError.cpp b/llvm/lib/DebugInfo/PDB/Native/RawError.cpp index aa126bb8f1a..548289fff3d 100644 --- a/llvm/lib/DebugInfo/PDB/Native/RawError.cpp +++ b/llvm/lib/DebugInfo/PDB/Native/RawError.cpp @@ -38,6 +38,8 @@ public: return "The entry does not exist."; case raw_error_code::not_writable: return "The PDB does not support writing."; + case raw_error_code::stream_too_long: + return "The stream was longer than expected."; case raw_error_code::invalid_tpi_hash: return "The Type record has an invalid hash value."; } -- cgit v1.2.3