diff options
author | Eric Christopher <echristo@apple.com> | 2012-04-16 23:54:23 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2012-04-16 23:54:23 +0000 |
commit | a8caa739deaa9e8430b8f617b85421f37d7eb31c (patch) | |
tree | e5581431e8cab7d3ba16af46ce929fedd62a63d8 /llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp | |
parent | 1f05b5a4ec202bf50affa72640df8abcf4ca8558 (diff) | |
download | bcm5719-llvm-a8caa739deaa9e8430b8f617b85421f37d7eb31c.tar.gz bcm5719-llvm-a8caa739deaa9e8430b8f617b85421f37d7eb31c.zip |
Make comment here more clear.
llvm-svn: 154878
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp index 69dc454ae1d..cc5b6424d73 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp @@ -1032,9 +1032,10 @@ DIE *CompileUnit::getOrCreateSubprogramDIE(DISubprogram SP) { // Add function template parameters. addTemplateParams(*SPDie, SP.getTemplateParams()); - // Unfortunately this code needs to stay here to work around - // a bug in older gdbs that requires the linkage name to resolve - // multiple template functions. + // Unfortunately this code needs to stay here instead of below the + // AT_specification code in order to work around a bug in older + // gdbs that requires the linkage name to resolve multiple template + // functions. StringRef LinkageName = SP.getLinkageName(); if (!LinkageName.empty()) addString(SPDie, dwarf::DW_AT_MIPS_linkage_name, |