llvm-project/llvm/lib/DebugInfo/CodeView
Reid Kleckner d0e6e24a53 [PDB] Add symbols to the PDB
Summary:
The main complexity in adding symbol records is that we need to
"relocate" all the type indices. Type indices do not have anything like
relocations, an opaque data structure describing where to find existing
type indices for fixups. The linker just has to "know" where the type
references are in the symbol records. I added an overload of
`discoverTypeIndices` that works on symbol records, and it seems to be
able to link the standard library.

Reviewers: zturner, ruiu

Subscribers: llvm-commits, hiraditya

Differential Revision: https://reviews.llvm.org/D34432

llvm-svn: 305933
2017-06-21 17:25:56 +00:00
..
CMakeLists.txt Delete TypeDatabase. 2017-06-18 20:52:45 +00:00
CVSymbolVisitor.cpp [CodeView] Move CodeView YAML code to ObjectYAML. 2017-05-30 21:53:05 +00:00
CVTypeVisitor.cpp Remove some dead code / includes. 2017-06-16 23:42:15 +00:00
CodeViewError.cpp [pdb] Add the ability to resolve TypeServer PDBs. 2017-02-16 23:35:45 +00:00
CodeViewRecordIO.cpp [CodeView] Properly align symbol records on read/write. 2017-06-01 21:52:41 +00:00
DebugChecksumsSubsection.cpp Allow VarStreamArray to use stateful extractors. 2017-06-09 17:54:36 +00:00
DebugCrossExSubsection.cpp [CodeView] Fix endianness bug. 2017-06-05 22:12:23 +00:00
DebugCrossImpSubsection.cpp Allow VarStreamArray to use stateful extractors. 2017-06-09 17:54:36 +00:00
DebugFrameDataSubsection.cpp [CodeView] Add more DebugSubsection implementations. 2017-05-30 17:13:33 +00:00
DebugInlineeLinesSubsection.cpp Allow VarStreamArray to use stateful extractors. 2017-06-09 17:54:36 +00:00
DebugLinesSubsection.cpp Allow VarStreamArray to use stateful extractors. 2017-06-09 17:54:36 +00:00
DebugStringTableSubsection.cpp Resubmit "[codeview] Make obj2yaml/yaml2obj support .debug$S..." 2017-06-14 15:59:27 +00:00
DebugSubsection.cpp [CodeView] Rename ModuleDebugFragment -> DebugSubsection. 2017-05-30 16:36:15 +00:00
DebugSubsectionRecord.cpp [PDB] Start emitting source file and line information 2017-06-19 17:21:45 +00:00
DebugSubsectionVisitor.cpp Resubmit "[codeview] Make obj2yaml/yaml2obj support .debug$S..." 2017-06-14 15:59:27 +00:00
DebugSymbolRVASubsection.cpp [pdb] Support CoffSymbolRVA debug subsection. 2017-06-09 20:46:52 +00:00
DebugSymbolsSubsection.cpp [CodeView] Add more DebugSubsection implementations. 2017-05-30 17:13:33 +00:00
EnumTables.cpp [CodeView] Fix dumping of public symbol record flags 2017-06-19 16:54:51 +00:00
Formatters.cpp Properly parse the TypeServer2 record. 2017-02-03 21:22:27 +00:00
LLVMBuild.txt [msf] Resubmit "Rename Msf -> MSF". 2016-07-29 20:56:36 +00:00
LazyRandomTypeCollection.cpp Delete TypeDatabase. 2017-06-18 20:52:45 +00:00
Line.cpp
RecordSerialization.cpp [Support] Move Stream library from MSF -> Support. 2017-03-02 20:52:51 +00:00
StringsAndChecksums.cpp [llvm-pdbutil] Add support for dumping lines and inlinee lines. 2017-06-15 23:56:19 +00:00
SymbolDumper.cpp [CodeView] Fix dumping of public symbol record flags 2017-06-19 16:54:51 +00:00
SymbolRecordMapping.cpp [CodeView] Fix dumping of public symbol record flags 2017-06-19 16:54:51 +00:00
SymbolSerializer.cpp [CodeView] Properly align symbol records on read/write. 2017-06-01 21:52:41 +00:00
TypeDumpVisitor.cpp Remove some dead code / includes. 2017-06-16 23:42:15 +00:00
TypeIndex.cpp Resubmit "[llvm-pdbutil] rewrite the "raw" output style." 2017-06-15 22:24:24 +00:00
TypeIndexDiscovery.cpp [PDB] Add symbols to the PDB 2017-06-21 17:25:56 +00:00
TypeName.cpp [CodeView] Fix random access of type names. 2017-06-16 23:42:44 +00:00
TypeRecordMapping.cpp [codeview] Add support for label type records 2017-04-03 21:25:20 +00:00
TypeSerializer.cpp [CodeView Type Merging] Don't keep re-allocating temp serializer. 2017-05-25 21:15:37 +00:00
TypeStreamMerger.cpp Remove unused member. 2017-05-25 23:47:56 +00:00
TypeTableCollection.cpp Delete TypeDatabase. 2017-06-18 20:52:45 +00:00