1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/tools/llvm-pdbutil
Zachary Turner 8ef979bdc8 [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
..
fuzzer
Analyze.cpp Remove some dead code / includes. 2017-06-16 23:42:15 +00:00
Analyze.h
BytesOutputStyle.cpp [llvm-pdbutil] Add a mode to bytes for dumping split debug chunks. 2017-06-26 17:22:36 +00:00
BytesOutputStyle.h [llvm-pdbutil] Dump raw bytes of module symbols and debug chunks. 2017-06-23 23:08:57 +00:00
CMakeLists.txt [llvm-pdbutil] Create a "bytes" subcommand. 2017-06-22 20:58:11 +00:00
Diff.cpp Remove diff pedantic mode. 2017-06-20 18:50:30 +00:00
Diff.h
DumpOutputStyle.cpp [PDB] Teach libpdb to write DBI Stream ECNames. 2017-07-07 05:04:36 +00:00
DumpOutputStyle.h [llvm-pdbutil] Add the ability to dump the dependency tree for a type 2017-06-30 18:15:47 +00:00
FormatUtil.cpp Fix std::min ambiguity between uint32 and size_t. 2017-07-05 21:59:20 +00:00
FormatUtil.h Fix -Wunused-function by making function declarations in a header non-static 2017-07-06 05:33:32 +00:00
LinePrinter.cpp [llvm-pdbutil] Dump raw bytes of various DBI stream subsections. 2017-06-23 21:11:54 +00:00
LinePrinter.h [llvm-pdbutil] Dump raw bytes of pdb name map. 2017-06-23 20:18:38 +00:00
llvm-pdbutil.cpp [PDB] Add a test that verifies every known type record. 2017-07-05 18:43:25 +00:00
llvm-pdbutil.h [llvm-pdbutil] Add the ability to dump the dependency tree for a type 2017-06-30 18:15:47 +00:00
LLVMBuild.txt
MinimalSymbolDumper.cpp Remove spurious semicolons. 2017-06-30 21:48:57 +00:00
MinimalSymbolDumper.h [llvm-pdbutil] Output the symbol offset when dumping. 2017-06-30 21:35:00 +00:00
MinimalTypeDumper.cpp [PDB] Add a test that verifies every known type record. 2017-07-05 18:43:25 +00:00
MinimalTypeDumper.h [llvm-pdbutil] Add back the ability to dump hashes and index offsets. 2017-06-15 23:04:42 +00:00
OutputStyle.h
PdbYaml.cpp Fix ODR violations due to abuse of LLVM_YAML_IS_(FLOW_)?SEQUENCE_VECTOR 2017-06-30 20:56:57 +00:00
PdbYaml.h
PrettyBuiltinDumper.cpp
PrettyBuiltinDumper.h
PrettyClassDefinitionDumper.cpp
PrettyClassDefinitionDumper.h
PrettyClassLayoutGraphicalDumper.cpp Fix a null pointer dereference in llvm-pdbutil pretty. 2017-06-12 20:46:35 +00:00
PrettyClassLayoutGraphicalDumper.h
PrettyCompilandDumper.cpp
PrettyCompilandDumper.h
PrettyEnumDumper.cpp
PrettyEnumDumper.h
PrettyExternalSymbolDumper.cpp
PrettyExternalSymbolDumper.h
PrettyFunctionDumper.cpp
PrettyFunctionDumper.h
PrettyTypedefDumper.cpp
PrettyTypedefDumper.h
PrettyTypeDumper.cpp
PrettyTypeDumper.h
PrettyVariableDumper.cpp
PrettyVariableDumper.h
StreamUtil.cpp [llvm-pdbutil] Add the ability to truncate stream purpose names. 2017-07-05 21:54:58 +00:00
StreamUtil.h [llvm-pdbutil] Add the ability to truncate stream purpose names. 2017-07-05 21:54:58 +00:00
YAMLOutputStyle.cpp Resubmit "[llvm-pdbutil] rewrite the "raw" output style." 2017-06-15 22:24:24 +00:00
YAMLOutputStyle.h