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:
6e0f386
)
Print function number instead of name
author
Nate Begeman
<natebegeman@mac.com>
Tue, 2 May 2006 17:36:46 +0000
(17:36 +0000)
committer
Nate Begeman
<natebegeman@mac.com>
Tue, 2 May 2006 17:36:46 +0000
(17:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28057
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/AsmPrinter.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/AsmPrinter.cpp
b/lib/CodeGen/AsmPrinter.cpp
index 76a03dce95d53e0a9fe307b7db096a9a8ca19e4f..1175ac683738485ff49c9b613e0bbd29dc9408e4 100644
(file)
--- 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)