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:
1f25d88
)
Add methods for stub function generation
author
Chris Lattner
<sabre@nondot.org>
Thu, 8 May 2003 21:54:18 +0000
(21:54 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 8 May 2003 21:54:18 +0000
(21:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6054
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/MachineCodeEmitter.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/MachineCodeEmitter.cpp
b/lib/CodeGen/MachineCodeEmitter.cpp
index dc2d0d658be051aba8258e0734a8a3bd1fc7b643..270a7b9038999652ced239945c87b64d869a67ef 100644
(file)
--- a/
lib/CodeGen/MachineCodeEmitter.cpp
+++ b/
lib/CodeGen/MachineCodeEmitter.cpp
@@
-21,6
+21,13
@@
namespace {
void startBasicBlock(MachineBasicBlock &BB) {
std::cout << "\n--- Basic Block: " << BB.getBasicBlock()->getName()<<"\n";
}
+
+ void startFunctionStub(Function &F, unsigned StubSize) {
+ std::cout << "\n--- Function stub for function: " << F.getName() << "\n";
+ }
+ void finishFunctionStub(Function &F) {
+ std::cout << "\n";
+ }
void emitByte(unsigned char B) {
std::cout << "0x" << std::hex << (unsigned int)B << std::dec << " ";