llvm/test/tools/llvm-symbolizer
Reid Kleckner 1ac3f3eb9d [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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@271725 91177308-0d34-0410-b5e6-96231b3b80d8
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 Was convinced in commit comments that requiring a specific python version is the wrong approach; reverting. 2014-11-11 08:53:18 +00:00
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