diff options
author | Daniel Dunbar <daniel@zuster.org> | 2008-10-18 18:22:23 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2008-10-18 18:22:23 +0000 |
commit | 2284ac9ec80299fcdefae9a2787cf85105a0f203 (patch) | |
tree | e09bffb2f9fa50ae8f23ebe54fa49911923cc3f6 /lib/CodeGen/CGDebugInfo.h | |
parent | a85e7154e4424b97ce6e5d1c2704690d16bfd07e (diff) |
Debug info bug fix, function start wasn't getting generated correctly
for Obj-C methods.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57769 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGDebugInfo.h')
-rw-r--r-- | lib/CodeGen/CGDebugInfo.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/CGDebugInfo.h b/lib/CodeGen/CGDebugInfo.h index 22a45ce8b5..9352505a96 100644 --- a/lib/CodeGen/CGDebugInfo.h +++ b/lib/CodeGen/CGDebugInfo.h @@ -110,9 +110,9 @@ public: void EmitStopPoint(llvm::Function *Fn, BuilderType &Builder); /// EmitFunctionStart - Emit a call to llvm.dbg.function.start to indicate - /// start of a new function - void EmitFunctionStart(const FunctionDecl *FnDecl, llvm::Function *Fn, - BuilderType &Builder); + /// start of a new function. + void EmitFunctionStart(const char *Name, QualType ReturnType, + llvm::Function *Fn, BuilderType &Builder); /// EmitRegionStart - Emit a call to llvm.dbg.region.start to indicate start /// of a new block. |