From: Chris Lattner Date: Thu, 8 May 2003 21:54:18 +0000 (+0000) Subject: Add methods for stub function generation X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=fd33fb8726d4b824d82851f57e37e2df394aad0b;p=oota-llvm.git Add methods for stub function generation git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6054 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/MachineCodeEmitter.cpp b/lib/CodeGen/MachineCodeEmitter.cpp index dc2d0d658be..270a7b90389 100644 --- 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 << " ";