llvm-project/llvm/tools/llvm-pdbutil
Zachary Turner a9d944fd6f Resubmit "Add pdb-diff test."
This was originally reverted because of two issues.
  1) Printing ANSI color escape codes even when outputting to
     a file
  2) Module name comparisons were failing when comparing a PDB
     generated on one machine to a PDB generated on another
     machine.

I attempted to fix #2 by adding command line options which let
you specify prefixes to strip from the beginning of embedded
paths, which effectively lets us specify a path to "base" each
PDB from and only compare the parts under the base.  But this is
tricky because PDB paths always use Windows path syntax, even
when they are created on non-Windows hosts.  A problem still
existed when constructing the prefix to strip, where we were
accidentally using a host-specific path separator instead of
a Windows path separator.

This resubmission fixes the issue on Linux (and I have verified
that the test now passes on Linux).

llvm-svn: 307571
2017-07-10 19:16:49 +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] Improve diff mode. 2017-07-07 18:45:37 +00:00
Diff.cpp Resubmit "Add pdb-diff test." 2017-07-10 19:16:49 +00:00
Diff.h
DiffPrinter.cpp Resubmit "Add pdb-diff test." 2017-07-10 19:16:49 +00:00
DiffPrinter.h Resubmit "Add pdb-diff test." 2017-07-10 19:16:49 +00:00
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 [llvm-pdbutil] Improve diff mode. 2017-07-07 18:45:37 +00:00
FormatUtil.h [llvm-pdbutil] Improve diff mode. 2017-07-07 18:45:37 +00:00
LLVMBuild.txt
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
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
PrettyTypeDumper.cpp
PrettyTypeDumper.h
PrettyTypedefDumper.cpp
PrettyTypedefDumper.h
PrettyVariableDumper.cpp
PrettyVariableDumper.h
StreamUtil.cpp Resubmit "Add pdb-diff test." 2017-07-10 19:16:49 +00:00
StreamUtil.h Resubmit "Add pdb-diff test." 2017-07-10 19:16:49 +00:00
YAMLOutputStyle.cpp Resubmit "[llvm-pdbutil] rewrite the "raw" output style." 2017-06-15 22:24:24 +00:00
YAMLOutputStyle.h
llvm-pdbutil.cpp Resubmit "Add pdb-diff test." 2017-07-10 19:16:49 +00:00
llvm-pdbutil.h Resubmit "Add pdb-diff test." 2017-07-10 19:16:49 +00:00