llvm-project/llvm/test/tools/llvm-symbolizer
Reid Kleckner f27f3f8491 [Symbolize] Check if the PE file has a PDB and emit an error if we can't load it
Summary:
Previously we would try to load PDBs for every PE executable we tried to
symbolize. If that failed, we would fall back to DWARF. If there wasn't
any DWARF, we'd print mostly useless symbol information using the export
table.

With this change, we only try to load PDBs for executables that claim to
have them. If that fails, we can now print an error rather than falling
back silently. This should make it a lot easier to diagnose and fix
common symbolization issues, such as not having DIA or not having a PDB.

Reviewers: zturner, eugenis

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D20982

llvm-svn: 271725
2016-06-03 20:25:09 +00:00
..
Inputs [llvm-symbolizer] Print out non-address lines verbatim. 2016-01-07 23:57:41 +00:00
pdb [Symbolize] Check if the PE file has a PDB and emit an error if we can't load it 2016-06-03 20:25:09 +00:00
coff-dwarf.test Fix coff-dwarf test for non-Windows platforms that cannot demangle MS C++ names 2015-10-09 01:11:40 +00:00
coff-exports.test Disable a test relying on symbol demangling on non-Windows platforms 2015-10-16 23:56:14 +00:00
dsym.test
fat.test MachO: remove weird ARM/Thumb interface from MachOObjectFile 2016-04-22 23:21:13 +00:00
ppc64.test
print_context.c [LLVM] Remove unwanted --check-prefix=CHECK from unit tests. NFC. 2016-04-19 23:51:52 +00:00
sym.test [llvm-symbolizer] Print out non-address lines verbatim. 2016-01-07 23:57:41 +00:00