mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-13 09:33:50 +00:00
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:
parent
1f25d8801f
commit
fd33fb8726
@ -22,6 +22,13 @@ namespace {
|
||||
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 << " ";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user