mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Emit the proper .type declarations to tell the debugger what a function is
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@845 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c28f6d6258
commit
f927bb482e
@ -214,6 +214,7 @@ void SparcAsmPrinter::emitMethod(const Method *M) {
|
||||
enterSection(Text);
|
||||
Out << "\t.align 4\n\t.global\t" << MethName << "\n";
|
||||
//Out << "\t.type\t" << MethName << ",#function\n";
|
||||
Out << "\t.type\t" << MethName << ", 2\n";
|
||||
Out << MethName << ":\n";
|
||||
|
||||
// Output code for all of the basic blocks in the method...
|
||||
|
Loading…
Reference in New Issue
Block a user