OSDN Git Service

[llvm-pdbutil] Allow diff to force module equivalencies.
authorZachary Turner <zturner@google.com>
Thu, 3 Aug 2017 20:30:09 +0000 (20:30 +0000)
committerZachary Turner <zturner@google.com>
Thu, 3 Aug 2017 20:30:09 +0000 (20:30 +0000)
commitc593673c880e802e5fef86d3c3063a67937c524c
tree737a97e9f4f7933eb74b28aecb13d9ddb766dffb
parent48c84d8de6392314ab90ecf24653f5518c77db4a
[llvm-pdbutil] Allow diff to force module equivalencies.

Sometimes the normal module equivalence detection algorithm doesn't
quite work.  For example, you might build the same program with
MSVC and clang-cl, outputting to different object files, exes, and
PDBs, then compare them.  If the object files have different names
though, then they won't be treated as equivalent.  This way we
can force specific module indices to be treated as equivalent.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@309983 91177308-0d34-0410-b5e6-96231b3b80d8
tools/llvm-pdbutil/Diff.cpp
tools/llvm-pdbutil/llvm-pdbutil.cpp
tools/llvm-pdbutil/llvm-pdbutil.h