projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
IR: Give 'DI' prefix to debug info metadata
[oota-llvm.git]
/
lib
/
CodeGen
/
AsmPrinter
/
DwarfCompileUnit.h
diff --git
a/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
b/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
index 76811d9401c2b3832739ddf651c5aa5f73973e4f..50e4a54eb3e0b5d8d41192ecc2dc57eda7831cd4 100644
(file)
--- a/
lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
+++ b/
lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
@@
-66,7
+66,7
@@
class DwarfCompileUnit : public DwarfUnit {
bool includeMinimalInlineScopes() const;
public:
bool includeMinimalInlineScopes() const;
public:
- DwarfCompileUnit(unsigned UID, const
MD
CompileUnit *Node, AsmPrinter *A,
+ DwarfCompileUnit(unsigned UID, const
DI
CompileUnit *Node, AsmPrinter *A,
DwarfDebug *DW, DwarfFile *DWU);
DwarfCompileUnit *getSkeleton() const {
DwarfDebug *DW, DwarfFile *DWU);
DwarfCompileUnit *getSkeleton() const {
@@
-79,7
+79,7
@@
public:
void applyStmtList(DIE &D);
/// getOrCreateGlobalVariableDIE - get or create global variable DIE.
void applyStmtList(DIE &D);
/// getOrCreateGlobalVariableDIE - get or create global variable DIE.
- DIE *getOrCreateGlobalVariableDIE(const
MD
GlobalVariable *GV);
+ DIE *getOrCreateGlobalVariableDIE(const
DI
GlobalVariable *GV);
/// addLabelAddress - Add a dwarf label attribute data and value using
/// either DW_FORM_addr or DW_FORM_GNU_addr_index.
/// addLabelAddress - Add a dwarf label attribute data and value using
/// either DW_FORM_addr or DW_FORM_GNU_addr_index.
@@
-113,7
+113,7
@@
public:
/// DW_AT_low_pc and DW_AT_high_pc attributes. If there are global
/// variables in this scope then create and insert DIEs for these
/// variables.
/// DW_AT_low_pc and DW_AT_high_pc attributes. If there are global
/// variables in this scope then create and insert DIEs for these
/// variables.
- DIE &updateSubprogramScopeDIE(const
MD
Subprogram *SP);
+ DIE &updateSubprogramScopeDIE(const
DI
Subprogram *SP);
void constructScopeDIE(LexicalScope *Scope,
SmallVectorImpl<std::unique_ptr<DIE>> &FinalChildren);
void constructScopeDIE(LexicalScope *Scope,
SmallVectorImpl<std::unique_ptr<DIE>> &FinalChildren);
@@
-156,11
+156,11
@@
public:
/// \brief Construct import_module DIE.
std::unique_ptr<DIE>
/// \brief Construct import_module DIE.
std::unique_ptr<DIE>
- constructImportedEntityDIE(const
MD
ImportedEntity *Module);
+ constructImportedEntityDIE(const
DI
ImportedEntity *Module);
- void finishSubprogramDefinition(const
MD
Subprogram *SP);
+ void finishSubprogramDefinition(const
DI
Subprogram *SP);
- void collectDeadVariables(const
MD
Subprogram *SP);
+ void collectDeadVariables(const
DI
Subprogram *SP);
/// Set the skeleton unit associated with this unit.
void setSkeleton(DwarfCompileUnit &Skel) { Skeleton = &Skel; }
/// Set the skeleton unit associated with this unit.
void setSkeleton(DwarfCompileUnit &Skel) { Skeleton = &Skel; }
@@
-183,11
+183,11
@@
public:
}
/// Add a new global name to the compile unit.
}
/// Add a new global name to the compile unit.
- void addGlobalName(StringRef Name, DIE &Die, const
MD
Scope *Context) override;
+ void addGlobalName(StringRef Name, DIE &Die, const
DI
Scope *Context) override;
/// Add a new global type to the compile unit.
/// Add a new global type to the compile unit.
- void addGlobalType(const
MD
Type *Ty, const DIE &Die,
- const
MD
Scope *Context) override;
+ void addGlobalType(const
DI
Type *Ty, const DIE &Die,
+ const
DI
Scope *Context) override;
const StringMap<const DIE *> &getGlobalNames() const { return GlobalNames; }
const StringMap<const DIE *> &getGlobalTypes() const { return GlobalTypes; }
const StringMap<const DIE *> &getGlobalNames() const { return GlobalNames; }
const StringMap<const DIE *> &getGlobalTypes() const { return GlobalTypes; }
@@
-215,7
+215,7
@@
public:
/// Add a Dwarf expression attribute data and value.
void addExpr(DIELoc &Die, dwarf::Form Form, const MCExpr *Expr);
/// Add a Dwarf expression attribute data and value.
void addExpr(DIELoc &Die, dwarf::Form Form, const MCExpr *Expr);
- void applySubprogramAttributesToDefinition(const
MD
Subprogram *SP,
+ void applySubprogramAttributesToDefinition(const
DI
Subprogram *SP,
DIE &SPDie);
/// getRangeLists - Get the vector of range lists.
DIE &SPDie);
/// getRangeLists - Get the vector of range lists.