1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 04:22:57 +02:00
llvm-mirror/include/llvm/Object
Reid Kleckner eb745c2e9c [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
..
Archive.h Change llvm-objdump, llvm-nm and llvm-size when reporting an object file error 2016-05-17 17:10:12 +00:00
ArchiveWriter.h Fix bug where temporary file would be left behind every time an archive was updated. 2016-05-09 13:31:11 +00:00
Binary.h Thread Expected<...> up from createMachOObjectFile() to allow llvm-objdump to produce a real error message 2016-04-06 22:14:09 +00:00
COFF.h [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
COFFImportFile.h Object: Fix COFF import file's symbols. 2015-09-01 06:01:53 +00:00
ELF.h Use ArrayRef for contiguous areas in ELF. NFC. 2016-04-05 14:47:22 +00:00
ELFObjectFile.h Recommit r270547 ([llvm-dwarfdump] - Teach dwarfdump to decompress debug sections in zlib style.) 2016-05-24 12:48:46 +00:00
ELFTypes.h Thread Expected<...> up from libObject’s getName() for symbols to allow llvm-objdump to produce a good error message. 2016-04-20 21:24:34 +00:00
Error.h [Object] Move isNotObjectErrorInvalidFileType out of header. 2016-05-17 21:38:53 +00:00
IRObjectFile.h Clean the API for CollectAsmUndefinedRefs, taking a Triple and a String InlineAsm instead of a Module (NFC) 2016-04-22 04:58:12 +00:00
MachO.h Recommit r270547 ([llvm-dwarfdump] - Teach dwarfdump to decompress debug sections in zlib style.) 2016-05-24 12:48:46 +00:00
MachOUniversal.h Change llvm-objdump, llvm-nm and llvm-size when reporting an object file error 2016-05-31 20:35:34 +00:00
ModuleSummaryIndexObjectFile.h [ThinLTO] Remove unused/incomplete lazy summary reading support (NFC) 2016-04-22 01:52:00 +00:00
ObjectFile.h Recommit r270547 ([llvm-dwarfdump] - Teach dwarfdump to decompress debug sections in zlib style.) 2016-05-24 12:48:46 +00:00
RelocVisitor.h [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
StackMapParser.h [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
SymbolicFile.h Apply clang-tidy's misc-move-constructor-init throughout LLVM. 2016-05-27 14:27:24 +00:00
SymbolSize.h Make computeSymbolSizes never fail. 2015-06-24 19:57:32 +00:00