Add methods for stub function generation

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6054 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-05-08 21:54:18 +00:00
parent 1f25d8801f
commit fd33fb8726

View File

@ -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 << " ";