@@ -515,7 +515,7 @@ class CGDebugInfo {
515515 // / This is needed for call site debug info.
516516 void EmitFuncDeclForCallSite (llvm::CallBase *CallOrInvoke,
517517 QualType CalleeType,
518- const FunctionDecl *CalleeDecl );
518+ GlobalDecl CalleeGlobalDecl );
519519
520520 // / Constructs the debug code for exiting a function.
521521 void EmitFunctionEnd (CGBuilderTy &Builder, llvm::Function *Fn);
@@ -682,6 +682,10 @@ class CGDebugInfo {
682682 // / Emit symbol for debugger that holds the pointer to the vtable.
683683 void emitVTableSymbol (llvm::GlobalVariable *VTable, const CXXRecordDecl *RD);
684684
685+ // / Return flags which enable debug info emission for call sites, provided
686+ // / that it is supported and enabled.
687+ llvm::DINode::DIFlags getCallSiteRelatedAttrs () const ;
688+
685689private:
686690 // / Amend \p I's DebugLoc with \p Group (its source atom group) and \p
687691 // / Rank (lower nonzero rank is higher precedence). Does nothing if \p I
@@ -831,11 +835,6 @@ class CGDebugInfo {
831835 unsigned LineNo, StringRef LinkageName,
832836 llvm::GlobalVariable *Var, llvm::DIScope *DContext);
833837
834-
835- // / Return flags which enable debug info emission for call sites, provided
836- // / that it is supported and enabled.
837- llvm::DINode::DIFlags getCallSiteRelatedAttrs () const ;
838-
839838 // / Get the printing policy for producing names for debug info.
840839 PrintingPolicy getPrintingPolicy () const ;
841840
0 commit comments