fix AsmPrinter::GetBlockAddressSymbol to always return a unique
authorChris Lattner <sabre@nondot.org>
Sun, 14 Mar 2010 17:53:23 +0000 (17:53 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 14 Mar 2010 17:53:23 +0000 (17:53 +0000)
commit3b9d6216a41cfd43759e787db26d797e1f0ba0a8
tree70ab8ae438a0996ff774bc8fd0eafc4c5b6d69e8
parentc441e97220eb8f3fc062d8bdf04d261165428673
fix AsmPrinter::GetBlockAddressSymbol to always return a unique
label instead of trying to form one based on the BB name (which
causes collisions if the name is empty).  This fixes PR6608

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98495 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/AsmPrinter.h
include/llvm/CodeGen/MachineModuleInfo.h
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
lib/CodeGen/MachineModuleInfo.cpp
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
test/CodeGen/ARM/indirectbr.ll
test/CodeGen/PowerPC/indirectbr.ll
test/CodeGen/XCore/indirectbr.ll