mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
a30de93265
When investigating various things, we often have a file offset and what to know what's in the PDB at that address. For example we may be doing a binary comparison of two LLD-generated PDBs to look for sources of non-determinism, or we may wish to compare an LLD-generated PDB with a Microsoft generated PDB for sources of byte-for-byte incompatibility. In these cases, we can do a binary diff of the two files, and once we find a mismatched byte we can use explain to figure out what that byte is, immediately honining in on the problem. This patch implements this by trying to narrow the meaning of a particular file offset down as much as possible. Differential Revision: https://reviews.llvm.org/D44959 llvm-svn: 328799
36 lines
701 B
CMake
36 lines
701 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
BinaryFormat
|
|
DebugInfoCodeView
|
|
DebugInfoMSF
|
|
DebugInfoPDB
|
|
Object
|
|
ObjectYAML
|
|
Support
|
|
)
|
|
|
|
add_llvm_tool(llvm-pdbutil
|
|
Analyze.cpp
|
|
BytesOutputStyle.cpp
|
|
DumpOutputStyle.cpp
|
|
ExplainOutputStyle.cpp
|
|
InputFile.cpp
|
|
llvm-pdbutil.cpp
|
|
FormatUtil.cpp
|
|
LinePrinter.cpp
|
|
MinimalSymbolDumper.cpp
|
|
MinimalTypeDumper.cpp
|
|
PdbYaml.cpp
|
|
PrettyBuiltinDumper.cpp
|
|
PrettyClassDefinitionDumper.cpp
|
|
PrettyClassLayoutGraphicalDumper.cpp
|
|
PrettyCompilandDumper.cpp
|
|
PrettyEnumDumper.cpp
|
|
PrettyExternalSymbolDumper.cpp
|
|
PrettyFunctionDumper.cpp
|
|
PrettyTypeDumper.cpp
|
|
PrettyTypedefDumper.cpp
|
|
PrettyVariableDumper.cpp
|
|
StreamUtil.cpp
|
|
YAMLOutputStyle.cpp
|
|
)
|