diff options
| author | Chris Lattner <sabre@nondot.org> | 2001-10-15 19:34:17 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2001-10-15 19:34:17 +0000 |
| commit | 3294e7c14b697b1c1c327e01bc0497eb10ad2133 (patch) | |
| tree | 55df0832e916fbb203980a128297d2467fee05cf /llvm/lib | |
| parent | 77d2c22d94cf293a8f8a62e4abd46fe3b3288e71 (diff) | |
| download | bcm5719-llvm-3294e7c14b697b1c1c327e01bc0497eb10ad2133.tar.gz bcm5719-llvm-3294e7c14b697b1c1c327e01bc0497eb10ad2133.zip | |
Emit the proper .type declarations to tell the debugger what a function is
llvm-svn: 845
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/Sparc/EmitAssembly.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/Sparc/EmitAssembly.cpp b/llvm/lib/Target/Sparc/EmitAssembly.cpp index 6aa5a21c12f..aa676301e48 100644 --- a/llvm/lib/Target/Sparc/EmitAssembly.cpp +++ b/llvm/lib/Target/Sparc/EmitAssembly.cpp @@ -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... |

