summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-10-30 01:38:20 +0000
committerDan Gohman <gohman@apple.com>2009-10-30 01:38:20 +0000
commit2f8ccf2bf480ab12d4e709f824f05f7df773b2ec (patch)
tree616e7b9dfb5c70b3caa436a60c14628f7a13e5f8 /llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
parentc83dc4b5064a37f5485692f53d4f789e4aef4b1d (diff)
downloadbcm5719-llvm-2f8ccf2bf480ab12d4e709f824f05f7df773b2ec.tar.gz
bcm5719-llvm-2f8ccf2bf480ab12d4e709f824f05f7df773b2ec.zip
Add a FIXME comment.
llvm-svn: 85559
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
index 55e620e1094..576768210f6 100644
--- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+++ b/llvm/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);
OpenPOWER on IntegriCloud