forked from OSchip/llvm-project
parent
52e31b20cb
commit
f52eddf9ca
|
@ -208,7 +208,8 @@ public:
|
|||
|
||||
/// addSectionLabel - Add a Dwarf section label attribute data and value.
|
||||
///
|
||||
void addSectionLabel(DIE *Die, dwarf::Attribute Attribute, const MCSymbol *Label);
|
||||
void addSectionLabel(DIE *Die, dwarf::Attribute Attribute,
|
||||
const MCSymbol *Label);
|
||||
|
||||
/// addSectionOffset - Add an offset into a section attribute data and value.
|
||||
///
|
||||
|
|
|
@ -3056,7 +3056,9 @@ void DwarfDebug::emitDebugStrDWO() {
|
|||
}
|
||||
|
||||
void DwarfDebug::addTypeUnitType(DIE *RefDie, DICompositeType CTy) {
|
||||
DenseMap<const MDNode*, std::pair<uint64_t, SmallVectorImpl<DIE*>* > >::iterator I = TypeUnits.find(CTy);
|
||||
DenseMap<const MDNode *,
|
||||
std::pair<uint64_t, SmallVectorImpl<DIE *> *> >::iterator I =
|
||||
TypeUnits.find(CTy);
|
||||
SmallVector<DIE *, 8> References;
|
||||
References.push_back(RefDie);
|
||||
if (I != TypeUnits.end()) {
|
||||
|
|
|
@ -452,7 +452,8 @@ class DwarfDebug {
|
|||
// 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;
|
||||
DenseMap<const MDNode *, std::pair<uint64_t, SmallVectorImpl<DIE *> *> >
|
||||
TypeUnits;
|
||||
|
||||
// Whether to emit the pubnames/pubtypes sections.
|
||||
bool HasDwarfPubSections;
|
||||
|
|
Loading…
Reference in New Issue