diff options
author | Dan Gohman <gohman@apple.com> | 2009-10-30 01:38:20 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-10-30 01:38:20 +0000 |
commit | 6ae5b32e487c24f723f262eb989475a2e12eb951 (patch) | |
tree | b7b8e88d15f14877cf89d8fe66e2cc7402a30425 /lib/CodeGen/AsmPrinter/AsmPrinter.cpp | |
parent | b1cac33856687715bf8db3860ff55ad2f6ca94b5 (diff) |
Add a FIXME comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85559 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/AsmPrinter.cpp')
-rw-r--r-- | lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp index 55e620e109..576768210f 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); |