[llvm-commits] [llvm] r85559 - /llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
Dan Gohman
gohman at apple.com
Thu Oct 29 18:38:20 PDT 2009
Author: djg
Date: Thu Oct 29 20:38:20 2009
New Revision: 85559
URL: http://llvm.org/viewvc/llvm-project?rev=85559&view=rev
Log:
Add a FIXME comment.
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinter.cpp?rev=85559&r1=85558&r2=85559&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinter.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinter.cpp Thu Oct 29 20:38:20 2009
@@ -1622,6 +1622,8 @@
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);
More information about the llvm-commits
mailing list