1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/test/DebugInfo/PDB
Reid Kleckner 247b925085 [PDB] Finish and simplify TPI hashing
Summary:
This removes the CVTypeVisitor updater and verifier classes. They were
made dead by the minimal type dumping refactoring. Replace them with a
single function that takes a type record and produces a hash. Call this
from the minimal type dumper and compare the hash.

I also noticed that the microsoft-pdb reference repository uses a basic
CRC32 for records that aren't special. We already have an implementation
of that CRC ready to use, because it's used in COFF for ICF.

I'll make LLD call this hashing utility in a follow-up change. We might
also consider using this same hash in type stream merging, so that we
don't have to hash our records twice.

Reviewers: inglorion, ruiu

Subscribers: llvm-commits, hiraditya

Differential Revision: https://reviews.llvm.org/D35515

llvm-svn: 308240
2017-07-18 00:33:45 +00:00
..
DIA Rename llvm-pdbdump -> llvm-pdbutil. 2017-06-09 20:46:17 +00:00
Inputs [PDB] Add a test that verifies every known type record. 2017-07-05 18:43:25 +00:00
Native Rename llvm-pdbdump -> llvm-pdbutil. 2017-06-09 20:46:17 +00:00
dbi-bytes.test [llvm-pdbutil] Dump raw bytes of various DBI stream subsections. 2017-06-23 21:11:54 +00:00
every-type.test [PDB] Add a test that verifies every known type record. 2017-07-05 18:43:25 +00:00
module-bytes.test [llvm-pdbutil] Add a mode to bytes for dumping split debug chunks. 2017-06-26 17:22:36 +00:00
pdb-longname-truncation.test Rename llvm-pdbdump -> llvm-pdbutil. 2017-06-09 20:46:17 +00:00
pdb-minimal-construct.test Rename llvm-pdbdump -> llvm-pdbutil. 2017-06-09 20:46:17 +00:00
pdb-unknown-symbol.test Fix line endings. 2017-06-12 23:15:47 +00:00
pdb-yaml-symbols.test [codeview] YAMLize all section offsets and indices in symbol records 2017-06-20 21:19:22 +00:00
pdbdump-debug-subsections.test Resubmit "[llvm-pdbutil] rewrite the "raw" output style." 2017-06-15 22:24:24 +00:00
pdbdump-headers.test [PDB] Finish and simplify TPI hashing 2017-07-18 00:33:45 +00:00
pdbdump-merge-ids-and-types.test [PDB] Add a test that verifies every known type record. 2017-07-05 18:43:25 +00:00
pdbdump-mergeids.test [llvm-pdbutil] Rename "raw" to "dump". 2017-06-22 20:57:39 +00:00
pdbdump-mergetypes.test [PDB] Add a test that verifies every known type record. 2017-07-05 18:43:25 +00:00
pdbdump-objfilename.yaml [llvm-pdbdump] [yaml2pdb] always include object file name in module info 2017-05-25 18:04:17 +00:00
pdbdump-raw-blocks.test [llvm-pdbutil] Add the ability to dump raw bytes from the file. 2017-06-23 19:54:44 +00:00
pdbdump-raw-bytes.test [llvm-pdbutil] Dump raw bytes of pdb name map. 2017-06-23 20:18:38 +00:00
pdbdump-raw-stream.test [llvm-pdbutil] Add a function for formatting MSF data. 2017-06-23 18:52:13 +00:00
pdbdump-readwrite.test [llvm-pdbutil] Rename "raw" to "dump". 2017-06-22 20:57:39 +00:00
pdbdump-source-names.test Rename llvm-pdbdump -> llvm-pdbutil. 2017-06-09 20:46:17 +00:00
pdbdump-write.test Rename llvm-pdbdump -> llvm-pdbutil. 2017-06-09 20:46:17 +00:00
pdbdump-yaml-types.test [codeview] respect signedness of APSInts when printing to YAML 2017-06-21 22:31:52 +00:00
pdbdump-yaml.test Rename llvm-pdbdump -> llvm-pdbutil. 2017-06-09 20:46:17 +00:00
tpi-bytes.test [llvm-pdbutil] Dump raw bytes of type and id records. 2017-06-23 21:50:54 +00:00