mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-15 22:28:18 +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:
@@ -214,6 +214,7 @@ void SparcAsmPrinter::emitMethod(const Method *M) {
|
|||||||
enterSection(Text);
|
enterSection(Text);
|
||||||
Out << "\t.align 4\n\t.global\t" << MethName << "\n";
|
Out << "\t.align 4\n\t.global\t" << MethName << "\n";
|
||||||
//Out << "\t.type\t" << MethName << ",#function\n";
|
//Out << "\t.type\t" << MethName << ",#function\n";
|
||||||
|
Out << "\t.type\t" << MethName << ", 2\n";
|
||||||
Out << MethName << ":\n";
|
Out << MethName << ":\n";
|
||||||
|
|
||||||
// Output code for all of the basic blocks in the method...
|
// Output code for all of the basic blocks in the method...
|
||||||
|
Reference in New Issue
Block a user