From 9d51eeb8bc2ccdd488aab90eb57672de6155f2d5 Mon Sep 17 00:00:00 2001 From: Nate Begeman Date: Tue, 2 May 2006 17:36:46 +0000 Subject: [PATCH] Print function number instead of name git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28057 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/AsmPrinter.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/CodeGen/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter.cpp index 76a03dce95d..1175ac68373 100644 --- a/lib/CodeGen/AsmPrinter.cpp +++ b/lib/CodeGen/AsmPrinter.cpp @@ -731,9 +731,8 @@ bool AsmPrinter::PrintAsmMemoryOperand(const MachineInstr *MI, unsigned OpNo, void AsmPrinter::printBasicBlockLabel(const MachineBasicBlock *MBB, bool printColon, bool printComment) const { - O << PrivateGlobalPrefix << "LBB" - << Mang->getValueName(MBB->getParent()->getFunction()) - << "_" << MBB->getNumber(); + O << PrivateGlobalPrefix << "BB" << FunctionNumber << "_" + << MBB->getNumber(); if (printColon) O << ':'; if (printComment)