From: Dan Gohman Date: Fri, 30 Oct 2009 01:38:20 +0000 (+0000) Subject: Add a FIXME comment. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6ae5b32e487c24f723f262eb989475a2e12eb951;p=oota-llvm.git Add a FIXME comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85559 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp index 55e620e1094..576768210f6 100644 --- a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp +++ b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp @@ -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);