diff options
author | Zachary Turner <zturner@google.com> | 2017-03-15 22:18:53 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2017-03-15 22:18:53 +0000 |
commit | ea4e60754e0556b0f28be36220354831ae532816 (patch) | |
tree | 31105bdda08b889a66aa69d5921837195ed7e51e /llvm/lib/DebugInfo/PDB/Native/RawError.cpp | |
parent | 5545407fa4c1353a212166846fe0cad47a770e67 (diff) | |
download | bcm5719-llvm-ea4e60754e0556b0f28be36220354831ae532816.tar.gz bcm5719-llvm-ea4e60754e0556b0f28be36220354831ae532816.zip |
[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
Diffstat (limited to 'llvm/lib/DebugInfo/PDB/Native/RawError.cpp')
-rw-r--r-- | llvm/lib/DebugInfo/PDB/Native/RawError.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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."; } |