diff options
author | Zachary Turner <zturner@google.com> | 2018-03-29 16:28:20 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2018-03-29 16:28:20 +0000 |
commit | ea40f40e1b024598fb1dbd56211c2f24cb703df2 (patch) | |
tree | 9229b61a4aa5ff8bab244758d5845b0b05b11484 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | c7cc87922e7e28487fd93b010d6de9ec7c0ef318 (diff) | |
download | bcm5719-llvm-ea40f40e1b024598fb1dbd56211c2f24cb703df2.tar.gz bcm5719-llvm-ea40f40e1b024598fb1dbd56211c2f24cb703df2.zip |
[PDB] Add an explain subcommand.
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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions