mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
CR feedback for r195166: Add comments regarding type unit mapping and type units disabling cross-CU sharing.
Changes suggested by Manman Ren. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195262 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -443,7 +443,11 @@ class DwarfDebug {
|
||||
ImportedEntityMap;
|
||||
ImportedEntityMap ScopesWithImportedEntities;
|
||||
|
||||
// Holder for types that are going to be extracted out into a type unit.
|
||||
// Map from type MDNodes to a pair used as a union. If the pointer is
|
||||
// non-null, proxy DIEs in CUs meant to reference this type should be stored
|
||||
// in the vector. The hash will be added to these DIEs once it is computed. If
|
||||
// the pointer is null, the hash is immediately available in the uint64_t and
|
||||
// should be directly used for proxy DIEs.
|
||||
DenseMap<const MDNode *, std::pair<uint64_t, SmallVectorImpl<DIE*>* > > TypeUnits;
|
||||
|
||||
// Whether to emit the pubnames/pubtypes sections.
|
||||
|
Reference in New Issue
Block a user