llvm-project/llvm/lib/DebugInfo/CodeView
Amy Huang 7669f3c0f6 Recommit "[CodeView] Emit static data members as S_CONSTANTs."
We used to only emit static const data members in CodeView as
S_CONSTANTS when they were used; this patch makes it so they are always emitted.

This changes CodeViewDebug.cpp to find the static const members from the
class debug info instead of creating DIGlobalVariables in the IR
whenever a static const data member is used.

Bug: https://bugs.llvm.org/show_bug.cgi?id=47580

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

This reverts commit 504615353f.
2020-10-28 16:35:59 -07:00
..
AppendingTypeTableBuilder.cpp [CodeView] Add TypeCollection::replaceType to replace type records post-merging 2020-06-18 09:17:14 -04:00
CMakeLists.txt
CVSymbolVisitor.cpp
CVTypeVisitor.cpp
CodeViewError.cpp
CodeViewRecordIO.cpp Recommit "[CodeView] Emit static data members as S_CONSTANTs." 2020-10-28 16:35:59 -07:00
ContinuationRecordBuilder.cpp
DebugChecksumsSubsection.cpp
DebugCrossExSubsection.cpp
DebugCrossImpSubsection.cpp
DebugFrameDataSubsection.cpp
DebugInlineeLinesSubsection.cpp
DebugLinesSubsection.cpp
DebugStringTableSubsection.cpp
DebugSubsection.cpp
DebugSubsectionRecord.cpp [PDB] Remove unique_ptr wrapper around C13 line table subsections 2020-05-02 16:35:07 -07:00
DebugSubsectionVisitor.cpp
DebugSymbolRVASubsection.cpp
DebugSymbolsSubsection.cpp
EnumTables.cpp [COFF][ARM] Fix CodeView for Windows on 32bit ARM targets. 2020-10-19 22:16:16 -07:00
Formatters.cpp
GlobalTypeTableBuilder.cpp [CodeView] Add TypeCollection::replaceType to replace type records post-merging 2020-06-18 09:17:14 -04:00
LLVMBuild.txt
LazyRandomTypeCollection.cpp [CodeView] Add TypeCollection::replaceType to replace type records post-merging 2020-06-18 09:17:14 -04:00
Line.cpp
MergingTypeTableBuilder.cpp [CodeView] Add TypeCollection::replaceType to replace type records post-merging 2020-06-18 09:17:14 -04:00
RecordName.cpp Re-land "[PDB] Merge types in parallel when using ghashing" 2020-09-30 15:44:38 -07:00
RecordSerialization.cpp
SimpleTypeSerializer.cpp
StringsAndChecksums.cpp
SymbolDumper.cpp
SymbolRecordHelpers.cpp
SymbolRecordMapping.cpp
SymbolSerializer.cpp
TypeDumpVisitor.cpp
TypeHashing.cpp
TypeIndex.cpp
TypeIndexDiscovery.cpp Include (Type|Symbol)Record.h less 2020-09-16 09:59:03 -07:00
TypeRecordHelpers.cpp
TypeRecordMapping.cpp
TypeStreamMerger.cpp Roll an expression into an assert to remove the need for a (void) cast. 2020-03-22 18:18:27 -07:00
TypeTableCollection.cpp [CodeView] Add TypeCollection::replaceType to replace type records post-merging 2020-06-18 09:17:14 -04:00