llvm-project/llvm/test/DebugInfo/PDB
Zachary Turner 6c4bfba8f3 [PDB] Teach libpdb to write DBI Stream ECNames.
Based strictly on the name, this seems to have something to do
width edit & continue.  The goal of this patch has nothing to do
with supporting edit and continue though.  msvc link.exe writes
very basic information into this area even when *not* compiling
with support for E&C, and so the goal here is to bring lld-link
to parity.  Since we cannot know what assumptions standard tools
make about the content of PDB files, we need to be as close as
possible.

This ECNames data structure is a standard PDB string hash table.
link.exe puts a single string into this hash table, which is the
full path to the PDB file on disk.  It then references this string
from the module descriptor for the compiler generated `* Linker *`
module.

With this patch, lld-link will generate the exact same sequence of
bytes as MSVC link for this subsection for a given object file
input (as reported by `llvm-pdbutil bytes -ec`).

llvm-svn: 307356
2017-07-07 05:04:36 +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] Teach libpdb to write DBI Stream ECNames. 2017-07-07 05:04:36 +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