diff options
author | Zachary Turner <zturner@google.com> | 2016-06-03 04:01:48 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2016-06-03 04:01:48 +0000 |
commit | d0563f29f9581d2e0dff5f0cfe351a95e89d463d (patch) | |
tree | 83e03de934fd85352f2b2d3d7e4cd655890ef24e /llvm/lib/DebugInfo/CodeView/EnumTables.cpp | |
parent | a96cce64a54464da261402bd571a3fa1045f5d95 (diff) | |
download | bcm5719-llvm-d0563f29f9581d2e0dff5f0cfe351a95e89d463d.tar.gz bcm5719-llvm-d0563f29f9581d2e0dff5f0cfe351a95e89d463d.zip |
[pdb] Dump file checksums from pdb codeview line info.
llvm-svn: 271622
Diffstat (limited to 'llvm/lib/DebugInfo/CodeView/EnumTables.cpp')
-rw-r--r-- | llvm/lib/DebugInfo/CodeView/EnumTables.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/lib/DebugInfo/CodeView/EnumTables.cpp b/llvm/lib/DebugInfo/CodeView/EnumTables.cpp index edb489767d4..d71fec61344 100644 --- a/llvm/lib/DebugInfo/CodeView/EnumTables.cpp +++ b/llvm/lib/DebugInfo/CodeView/EnumTables.cpp @@ -147,6 +147,13 @@ static const EnumEntry<uint32_t> CompileSym3FlagNames[] = { CV_ENUM_CLASS_ENT(CompileSym3Flags, Exp), }; +static const EnumEntry<uint32_t> FileChecksumNames[] = { + CV_ENUM_CLASS_ENT(FileChecksumKind, None), + CV_ENUM_CLASS_ENT(FileChecksumKind, MD5), + CV_ENUM_CLASS_ENT(FileChecksumKind, SHA1), + CV_ENUM_CLASS_ENT(FileChecksumKind, SHA256), +}; + static const EnumEntry<unsigned> CPUTypeNames[] = { CV_ENUM_CLASS_ENT(CPUType, Intel8080), CV_ENUM_CLASS_ENT(CPUType, Intel8086), @@ -339,6 +346,9 @@ ArrayRef<EnumEntry<uint32_t>> getCompileSym2FlagNames() { ArrayRef<EnumEntry<uint32_t>> getCompileSym3FlagNames() { return makeArrayRef(CompileSym3FlagNames); } +ArrayRef<EnumEntry<uint32_t>> getFileChecksumNames() { + return makeArrayRef(FileChecksumNames); +} ArrayRef<EnumEntry<unsigned>> getCPUTypeNames() { return makeArrayRef(CPUTypeNames); } |