diff options
author | Eric Christopher <echristo@gmail.com> | 2013-10-05 00:32:34 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-10-05 00:32:34 +0000 |
commit | 72dd4cd1dda543e76b5dfc6cba50d7c4e085e87c (patch) | |
tree | 86c240e52e710fdfd797cfac3f42455df978fe48 /lib | |
parent | b648122c5f4dfa651d46c10c39ddf4f2f8cf1170 (diff) | |
download | external_llvm-72dd4cd1dda543e76b5dfc6cba50d7c4e085e87c.zip external_llvm-72dd4cd1dda543e76b5dfc6cba50d7c4e085e87c.tar.gz external_llvm-72dd4cd1dda543e76b5dfc6cba50d7c4e085e87c.tar.bz2 |
Fix one comment and update another. Slightly reformat.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192016 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfCompileUnit.h | 2 | ||||
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfDebug.h | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h b/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h index b3bf9be..1c67f6b 100644 --- a/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h +++ b/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h @@ -353,7 +353,7 @@ private: DIEEntry *createDIEEntry(DIE *Entry); /// resolve - Look in the DwarfDebug map for the MDNode that - /// corresponds to a scope reference. + /// corresponds to the reference. template <typename T> T resolve(DIRef<T> Ref) const { return DD->resolve(Ref); } diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.h b/lib/CodeGen/AsmPrinter/DwarfDebug.h index c2044ce..c4c450d 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.h +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.h @@ -713,9 +713,8 @@ public: /// Returns the Dwarf Version. unsigned getDwarfVersion() const { return DwarfVersion; } - /// Find the MDNode for the given scope reference. - template <typename T> - T resolve(DIRef<T> Ref) const { + /// Find the MDNode for the given reference. + template <typename T> T resolve(DIRef<T> Ref) const { return Ref.resolve(TypeIdentifierMap); } |