1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00
llvm-mirror/lib/DebugInfo/CodeView
Tom Tan 65f5c3005c [COFF, ARM64] Add CodeView register mapping
CodeView has its own register map which is defined in cvconst.h. Missing this
mapping before saving register to CodeView causes debugger to show incorrect
value for all register based variables, like variables in register and local
variables addressed by register (stack pointer + offset).

This change added mapping between LLVM register and CodeView register so the
correct register number will be stored to CodeView/PDB, it aso fixed the
mapping from CodeView register number to register name based on current
CPUType but print PDB to yaml still assumes X86 CPU and needs to be fixed.

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

llvm-svn: 362280
2019-05-31 23:43:31 +00:00
..
AppendingTypeTableBuilder.cpp [codeview] Remove Type member from CVRecord 2019-04-04 00:28:48 +00:00
CMakeLists.txt [PDB] Move some code around. NFC. 2018-12-06 17:49:15 +00:00
CodeViewError.cpp Move some classes into anonymous namespaces. NFC. 2019-02-11 15:16:21 +00:00
CodeViewRecordIO.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ContinuationRecordBuilder.cpp [codeview] Remove Type member from CVRecord 2019-04-04 00:28:48 +00:00
CVSymbolVisitor.cpp [codeview] Remove Type member from CVRecord 2019-04-04 00:28:48 +00:00
CVTypeVisitor.cpp [codeview] Remove Type member from CVRecord 2019-04-04 00:28:48 +00:00
DebugChecksumsSubsection.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DebugCrossExSubsection.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DebugCrossImpSubsection.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DebugFrameDataSubsection.cpp Reverted r361134 because of a failing test left unattended for a long time. 2019-05-22 20:42:56 +00:00
DebugInlineeLinesSubsection.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DebugLinesSubsection.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DebugStringTableSubsection.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DebugSubsection.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DebugSubsectionRecord.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DebugSubsectionVisitor.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DebugSymbolRVASubsection.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DebugSymbolsSubsection.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
EnumTables.cpp [COFF, ARM64] Add CodeView register mapping 2019-05-31 23:43:31 +00:00
Formatters.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
GlobalTypeTableBuilder.cpp [codeview] Remove Type member from CVRecord 2019-04-04 00:28:48 +00:00
LazyRandomTypeCollection.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Line.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
LLVMBuild.txt Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
MergingTypeTableBuilder.cpp [codeview] Remove Type member from CVRecord 2019-04-04 00:28:48 +00:00
RecordName.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
RecordSerialization.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SimpleTypeSerializer.cpp [codeview] Remove Type member from CVRecord 2019-04-04 00:28:48 +00:00
StringsAndChecksums.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SymbolDumper.cpp [COFF, ARM64] Add CodeView register mapping 2019-05-31 23:43:31 +00:00
SymbolRecordHelpers.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SymbolRecordMapping.cpp [codeview] Finish support for reading and writing S_ANNOTATION records 2019-05-15 20:53:39 +00:00
SymbolSerializer.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
TypeDumpVisitor.cpp [codeview] Remove Type member from CVRecord 2019-04-04 00:28:48 +00:00
TypeHashing.cpp [CodeView] Fix cycles in debug info when merging Types with global hashes 2019-02-07 15:24:18 +00:00
TypeIndex.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
TypeIndexDiscovery.cpp [llvm-pdbutil] Add -type-ref-stats to help find unused type info 2019-03-21 18:02:34 +00:00
TypeRecordHelpers.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
TypeRecordMapping.cpp [codeview] Remove Type member from CVRecord 2019-04-04 00:28:48 +00:00
TypeStreamMerger.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
TypeTableCollection.cpp [codeview] Remove Type member from CVRecord 2019-04-04 00:28:48 +00:00