projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1cac33
)
Add a FIXME comment.
author
Dan Gohman
<gohman@apple.com>
Fri, 30 Oct 2009 01:38:20 +0000
(
01:38
+0000)
committer
Dan 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
patch
|
blob
|
history
diff --git
a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
index 55e620e1094a3dc75793c09fbbe8e74ed79b3b32..576768210f659c17337f2293c311f1b9a5bbb575 100644
(file)
--- 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);