1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
llvm-mirror/lib/DebugInfo/CodeView
Zachary Turner 7fb895351b [CodeView] Use actual strings for dealing with checksums and lines.
The raw CodeView format references strings by "offsets", but it's
confusing what table the offset refers to.  In the case of line
number information, it's an offset into a buffer of records,
and an indirection is required to get another offset into a
different table to find the final string.  And in the case of
checksum information, there is no indirection, and the offset
refers directly to the location of the string in another buffer.

This would be less confusing if we always just referred to the
strings by their value, and have the library be smart enough
to correctly resolve the offsets on its own from the right
location.

This patch makes that possible.  When either reading or writing,
all the user deals with are strings, and the library does the
appropriate translations behind the scenes.

llvm-svn: 302053
2017-05-03 17:11:40 +00:00
..
CMakeLists.txt Resubmit r301986 and r301987 "Add codeview::StringTable" 2017-05-03 15:58:37 +00:00
CodeViewError.cpp [pdb] Add the ability to resolve TypeServer PDBs. 2017-02-16 23:35:45 +00:00
CodeViewRecordIO.cpp [Support] Move Stream library from MSF -> Support. 2017-03-02 20:52:51 +00:00
CVSymbolVisitor.cpp Remove unused functions. Remove static qualifier from functions in header files. NFC. 2017-04-11 14:55:32 +00:00
CVTypeDumper.cpp [Support] Move Stream library from MSF -> Support. 2017-03-02 20:52:51 +00:00
CVTypeVisitor.cpp [Support] Move Stream library from MSF -> Support. 2017-03-02 20:52:51 +00:00
EnumTables.cpp Rename some PDB classes. 2017-04-27 16:11:19 +00:00
Formatters.cpp Properly parse the TypeServer2 record. 2017-02-03 21:22:27 +00:00
Line.cpp
LLVMBuild.txt
ModuleDebugFileChecksumFragment.cpp [CodeView] Use actual strings for dealing with checksums and lines. 2017-05-03 17:11:40 +00:00
ModuleDebugFragment.cpp [CodeView] Write CodeView line information. 2017-05-01 23:27:42 +00:00
ModuleDebugFragmentRecord.cpp [PDB/CodeView] Read/write codeview inlinee line information. 2017-05-02 16:56:09 +00:00
ModuleDebugFragmentVisitor.cpp [PDB/CodeView] Read/write codeview inlinee line information. 2017-05-02 16:56:09 +00:00
ModuleDebugInlineeLinesFragment.cpp [CodeView] Use actual strings for dealing with checksums and lines. 2017-05-03 17:11:40 +00:00
ModuleDebugLineFragment.cpp [CodeView] Use actual strings for dealing with checksums and lines. 2017-05-03 17:11:40 +00:00
ModuleDebugUnknownFragment.cpp [CodeView] Isolate Debug Info Fragments into standalone classes. 2017-04-27 16:12:16 +00:00
RecordSerialization.cpp [Support] Move Stream library from MSF -> Support. 2017-03-02 20:52:51 +00:00
StringTable.cpp [CodeView] Use actual strings for dealing with checksums and lines. 2017-05-03 17:11:40 +00:00
SymbolDumper.cpp [llvm-readobj] Update readobj to re-use parsing code. 2017-05-03 17:11:11 +00:00
SymbolRecordMapping.cpp Resubmit "[CodeView] Hook CodeViewRecordIO for reading/writing symbols." 2016-12-16 22:48:14 +00:00
SymbolSerializer.cpp [llvm-pdbdump] Add support for dumping symbols from Yaml -> PDB. 2017-03-13 14:57:45 +00:00
TypeDatabase.cpp [CodeView] Write CodeView line information. 2017-05-01 23:27:42 +00:00
TypeDatabaseVisitor.cpp [codeview] Add support for label type records 2017-04-03 21:25:20 +00:00
TypeDumpVisitor.cpp [codeview] Add support for label type records 2017-04-03 21:25:20 +00:00
TypeRecordMapping.cpp [codeview] Add support for label type records 2017-04-03 21:25:20 +00:00
TypeSerializer.cpp [Support] Move Stream library from MSF -> Support. 2017-03-02 20:52:51 +00:00
TypeStreamMerger.cpp [codeview] Cope with unsorted streams in type merging 2017-04-03 23:58:15 +00:00