Add a FIXME comment.
authorDan Gohman <gohman@apple.com>
Fri, 30 Oct 2009 01:38:20 +0000 (01:38 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 30 Oct 2009 01:38:20 +0000 (01:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85559 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/AsmPrinter/AsmPrinter.cpp

index 55e620e1094a3dc75793c09fbbe8e74ed79b3b32..576768210f659c17337f2293c311f1b9a5bbb575 100644 (file)
@@ -1622,6 +1622,8 @@ MCSymbol *AsmPrinter::GetBlockAddressSymbol(const Function *F,
   assert(BB->hasName() &&
          "Address of anonymous basic block not supported yet!");
 
+  // FIXME: This isn't guaranteed to produce a unique name even if the
+  // block and function have a name.
   std::string Mangled =
     Mang->getMangledName(F, Mang->makeNameProper(BB->getName()).c_str(),
                          /*ForcePrivate=*/true);