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:
Chris Lattner 2001-10-15 19:34:17 +00:00
parent c28f6d6258
commit f927bb482e

View File

@ -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...