1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/lib/DebugInfo/CodeView
Zachary Turner fa9d44b037 [llvm-pdbutil] Support dumping CodeView from object files.
We have llvm-readobj for dumping CodeView from object files, and
llvm-pdbutil has always been more focused on PDB.  However,
llvm-pdbutil has a lot of useful options for summarizing debug
information in aggregate and presenting high level statistical
views.  Furthermore, it's arguably better as a testing tool since
we don't have to write tests to conform to a state-machine like
structure where you match multiple lines in succession, each
depending on a previous match.  llvm-pdbutil dumps much more
concisely, so it's possible to use single-line matches in many
cases where as with readobj tests you have to use multi-line
matches with an implicit state machine.

Because of this, I'm adding object file support to llvm-pdbutil.
In fact, this mirrors the cvdump tool from Microsoft, which also
supports both object files and pdb files.  In the future we could
perhaps rename this tool llvm-cvutil.

In the meantime, this allows us to deep dive into object files
the same way we already can with PDB files.

llvm-svn: 312358
2017-09-01 20:06:56 +00:00
..
CMakeLists.txt [LLD/PDB] Write actual records to the globals stream. 2017-08-11 19:00:03 +00:00
CodeViewError.cpp
CodeViewRecordIO.cpp [codeview] Fix YAML for LF_TYPESERVER2 by hoisting PDB_UniqueId 2017-07-17 23:59:44 +00:00
CVSymbolVisitor.cpp [llvm-pdbutil] Output the symbol offset when dumping. 2017-06-30 21:35:00 +00:00
CVTypeVisitor.cpp [codeview] Remove TypeServerHandler and PDBTypeServerHandler 2017-07-17 20:28:06 +00:00
DebugChecksumsSubsection.cpp
DebugCrossExSubsection.cpp
DebugCrossImpSubsection.cpp
DebugFrameDataSubsection.cpp
DebugInlineeLinesSubsection.cpp
DebugLinesSubsection.cpp
DebugStringTableSubsection.cpp
DebugSubsection.cpp
DebugSubsectionRecord.cpp
DebugSubsectionVisitor.cpp
DebugSymbolRVASubsection.cpp
DebugSymbolsSubsection.cpp
EnumTables.cpp [codeview] Emit 'D' as the cv source language for D code 2017-07-24 16:16:42 +00:00
Formatters.cpp [codeview] Fix YAML for LF_TYPESERVER2 by hoisting PDB_UniqueId 2017-07-17 23:59:44 +00:00
LazyRandomTypeCollection.cpp [llvm-pdbutil] Support dumping CodeView from object files. 2017-09-01 20:06:56 +00:00
Line.cpp
LLVMBuild.txt
RecordName.cpp [LLD/PDB] Write actual records to the globals stream. 2017-08-11 19:00:03 +00:00
RecordSerialization.cpp [PDB] Improve GSI hash table dumping for publics and globals 2017-07-26 00:40:36 +00:00
StringsAndChecksums.cpp [llvm-pdbutil] Support dumping CodeView from object files. 2017-09-01 20:06:56 +00:00
SymbolDumper.cpp [CodeView] Dump BuildInfoSym and ProcSym type indices 2017-07-15 18:10:39 +00:00
SymbolRecordMapping.cpp
SymbolSerializer.cpp [PDB] Serialize records into a stack-allocated buffer. 2017-08-21 20:17:19 +00:00
TypeDumpVisitor.cpp [codeview] Fix YAML for LF_TYPESERVER2 by hoisting PDB_UniqueId 2017-07-17 23:59:44 +00:00
TypeIndex.cpp
TypeIndexDiscovery.cpp [PDB] Fix linking of function symbols and local variables. 2017-08-08 18:34:44 +00:00
TypeRecordMapping.cpp
TypeSerializer.cpp
TypeStreamMerger.cpp [codeview] Don't use the type visitor to merge types 2017-07-17 20:31:38 +00:00
TypeTableCollection.cpp [LLD/PDB] Write actual records to the globals stream. 2017-08-11 19:00:03 +00:00