Home | History | Annotate | Download | only in AsmPrinter

Lines Matching refs:DIE

1 //===--- lib/CodeGen/DIE.h - DWARF Info Entries -----------------*- C++ -*-===//
107 /// DIE - A structured debug information entry. Has an abbreviation which
111 class DIE {
127 // This can't be a vector<DIE> because pointer validity is requirent for the
129 // It can't be a list<DIE> because some clients need pointer validity before
133 std::vector<std::unique_ptr<DIE>> Children;
135 DIE *Parent;
142 DIE()
147 explicit DIE(dwarf::Tag Tag)
158 const std::vector<std::unique_ptr<DIE>> &getChildren() const {
162 DIE *getParent() const { return Parent; }
163 /// Climb up the parent chain to get the compile or type unit DIE this DIE
165 const DIE *getUnit() const;
166 /// Similar to getUnit, returns null when DIE is not added to an
168 const DIE *getUnitOrNull() const;
172 /// addValue - Add a value and attributes to a DIE.
179 /// addChild - Add a child to the DIE.
181 void addChild(std::unique_ptr<DIE> Child) {
188 /// findAttribute - Find a value in the DIE with the attribute given,
246 /// DIEInteger - An integer value DIE.
295 /// DIEExpr - An expression DIE.
324 /// DIELabel - A label DIE.
353 /// DIEDelta - A simple label difference DIE.
414 DIE &Entry;
417 explicit DIEEntry(DIE &E) : DIEValue(isEntry), Entry(E) {
420 DIE &getEntry() const { return Entry; }
475 class DIELoc : public DIEValue, public DIE {
518 class DIEBlock : public DIEValue, public DIE {