aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2011-12-16 23:42:38 +0000
committerEric Christopher <echristo@apple.com>2011-12-16 23:42:38 +0000
commit44625f91c57638d178fcb464681ae5a293a1f100 (patch)
tree9ff9883527a25266f59512d34e4f87371ba380f1
parentadfc1ef14aa5d60b55424ec739fe06a280f51413 (diff)
downloadexternal_llvm-44625f91c57638d178fcb464681ae5a293a1f100.zip
external_llvm-44625f91c57638d178fcb464681ae5a293a1f100.tar.gz
external_llvm-44625f91c57638d178fcb464681ae5a293a1f100.tar.bz2
Add a fixme here.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146783 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp b/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
index 8cb5156..18a9653 100644
--- a/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
+++ b/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
@@ -838,6 +838,7 @@ void CompileUnit::constructTypeDIE(DIE &Buffer, DICompositeType CTy) {
addUInt(&Buffer, dwarf::DW_AT_APPLE_objc_complete_type,
dwarf::DW_FORM_flag, 1);
+ // FIXME: a structure type can have template params too.
if (Tag == dwarf::DW_TAG_class_type)
addTemplateParams(Buffer, CTy.getTemplateParams());