diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-04-25 19:33:43 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-04-25 19:33:43 +0000 |
commit | 8dbcc3fe32432b2a9a1f808cb4a2a4abc8737cbe (patch) | |
tree | 799a0c35325d4ca3b712f2c8b0e7c245871ddd1c /llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h | |
parent | 6c6ef822b0f9b8b89fd151eec230ed571468200e (diff) | |
download | bcm5719-llvm-8dbcc3fe32432b2a9a1f808cb4a2a4abc8737cbe.tar.gz bcm5719-llvm-8dbcc3fe32432b2a9a1f808cb4a2a4abc8737cbe.zip |
DIEEntry: Refer to the specified DIE via reference rather than pointer.
Makes some more cases (the unit tests, specifically), lexically
compatible with a change to unique_ptr.
llvm-svn: 207261
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h index 17be320f209..af5d2d54189 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h @@ -328,7 +328,7 @@ public: const MCSymbol *Lo); /// addDIEEntry - Add a DIE attribute data and value. - void addDIEEntry(DIE &Die, dwarf::Attribute Attribute, DIE *Entry); + void addDIEEntry(DIE &Die, dwarf::Attribute Attribute, DIE &Entry); /// addDIEEntry - Add a DIE attribute data and value. void addDIEEntry(DIE &Die, dwarf::Attribute Attribute, DIEEntry *Entry); @@ -516,7 +516,7 @@ private: /// createDIEEntry - Creates a new DIEEntry to be a proxy for a debug /// information entry. - DIEEntry *createDIEEntry(DIE *Entry); + DIEEntry *createDIEEntry(DIE &Entry); /// resolve - Look in the DwarfDebug map for the MDNode that /// corresponds to the reference. |