1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-23 04:52:54 +02:00
llvm-mirror/test/tools/llvm-readobj
Reid Kleckner 79a13a2ef0 [codeview] Add type stream merging prototype
Summary:
This code is intended to be used as part of LLD's PDB writing. Until
that exists, this is exposed via llvm-readobj for testing purposes.

Type stream merging uses the following algorithm:

- Begin with a new empty stream, and a new empty hash table that maps
  from type record contents to new type index.
- For each new type stream, maintain a map from source type index to
  destination type index.
- For each record, copy it and rewrite its type indices to be valid in
  the destination type stream.
- If the new type record is not already present in the destination
  stream hash table, append it to the destination type stream, assign it
  the next type index, and update the two hash tables.
- If the type record already exists in the destination stream, discard
  it and update the type index map to forward the source type index to
  the existing destination type index.

Reviewers: zturner, ruiu

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D20122

llvm-svn: 269521
2016-05-14 00:02:53 +00:00
..
ARM
Inputs [codeview] Add type stream merging prototype 2016-05-14 00:02:53 +00:00
amdgpu-elf-defs.test
basic.test
bigobj.test
codeview-inlining.test
codeview-linetables.test
codeview-merging.test [codeview] Add type stream merging prototype 2016-05-14 00:02:53 +00:00
codeview-vftable.test [codeview] Align class and print names of types 2016-05-13 19:37:07 +00:00
coff-arm-baserelocs.test
coff-basereloc.test
coff-directives.test
coff-exports.test
coff-file-sections-reading.test
coff-non-null-terminated-file.test
coff-zero-string-table.test
cxx-cli-aux.test
dynamic.test
elf-dtflags.test
elf-gnuhash.test
elf-groups.test
elf-hash-histogram.test
elf-sec-flags.test
elf-versioninfo.test
file-headers.test
gnu-file-headers.test
gnu-phdrs.test
gnu-relocations.test
gnu-sections.test
gnu-symbols.test
imports.test
macho-universal-x86_64.i386.test
mips-abiflags.test
mips-got-overlapped.test
mips-got.test
mips-options-sec.test [llvm-readobj] Print MIPS .MIPS.options section content 2016-05-04 05:58:57 +00:00
mips-options.test
mips-plt.test
mips-reginfo.test
mips-rld-map-rel.test
mips-st-other.test
peplus.test
program-headers.test
reloc-types.test
relocations.test
rpath.test
sections-ext.test
sections.test
symbols.test