|
From: | rail shafigulin |
Subject: | Re: gtags-cscope/global finds incorrect callers |
Date: | Fri, 25 Sep 2015 18:04:03 -0700 |
> llvm-or1k/in1lude/llvm/CodeGen/MachineScheduler.h|335| <<releaseSucc>> void releaseSucc(SUnit *SU, SDep *SuccEdge);> llvm-or1k/li1/CodeGen/MachineScheduler.cpp|539| <<releaseSucc>> releaseSucc(SU, &*I);> llvm-or1k/li1/CodeGen/SelectionDAG/ScheduleDAGVLIW.cpp|86| <<releaseSucc>> void releaseSucc(SUnit *SU, const SDep &D);> llvm-or1k/lib/CodeGen/SelectionDAG/ScheduleDAGVLIW.cpp|146| <<releaseSucc>> releaseSucc(SU, *I);>> Fist and third results are incorrect. They are declarations of these functions and not the callers.You are right. But they are right by GLOBAL's angle.The output of ':cs f c releaseSucc' is only the result of 'global -xr releaseSucc'.The present parser consider declarations which have no definition as references.So, the fist and third results are not incorrect.Gtags-cscope is a tool which just borrowed user interface of cscope; it is GLOBALitself for the substance.There is a problem in the title "Find locations calling this function:" on gtags-cscope.I would like to change it to "Find references of this function:" to reduce misunderstanding.What do you think?Regards,Shigio--Shigio YAMAGUCHI <address@hidden>PGP fingerprint: D1CB 0B89 B346 4AB6 5663 C4B6 3CA5 BBB3 57BE DDA3
[Prev in Thread] | Current Thread | [Next in Thread] |