Describe the bugThis probably is not a bug, but rather a question
Some parts of mm in Linux Kernel are not indexed while others are. For example, rtags-find-symbol-at-point in mm/vmscan.c works, while in mm/cma.c it does not work.
To Reproduce
Generate compilation database with bear make
Run RDM server ~/.emacs.d/elpa/rtags-20191029.2101/rtags-2.34/bin/rdm &
Load the compilation database ~/.emacs.d/elpa/rtags-20191029.2101/rtags-2.34/bin/rc
Try rtags-find-symbol-at-point in mm/vmscan.c, it works. Try in mm/cma.c, it does not work. Fails with the message RTags: ~/CODE/linux/mm/cma.c is not indexed
Try to manually index it ~/.emacs.d/elpa/rtags-20191029.2101/rtags-2.34/bin/rc --reindex ~/CODE/linux/mm/cma.c. It fails witht the message No matches.
Expected behavior
I would expect to have all the files in mm indexed.
Environment (please complete the following information):
OS/Version: Arch Linux from 12/20/2019
RTags(rdm,rc): 2.34.129
Emacs: 26.3
LLVM/Clang: 9.0.0
Additional context
What controls which files are indexed and which are not?
Describe the bug This probably is not a bug, but rather a question
Some parts of
mm
in Linux Kernel are not indexed while others are. For example,rtags-find-symbol-at-point
inmm/vmscan.c
works, while inmm/cma.c
it does not work.To Reproduce
bear make
~/.emacs.d/elpa/rtags-20191029.2101/rtags-2.34/bin/rdm &
~/.emacs.d/elpa/rtags-20191029.2101/rtags-2.34/bin/rc
rtags-find-symbol-at-point
inmm/vmscan.c
, it works. Try inmm/cma.c
, it does not work. Fails with the messageRTags: ~/CODE/linux/mm/cma.c is not indexed
~/.emacs.d/elpa/rtags-20191029.2101/rtags-2.34/bin/rc --reindex ~/CODE/linux/mm/cma.c
. It fails witht the messageNo matches
.Expected behavior I would expect to have all the files in
mm
indexed.Environment (please complete the following information):
Additional context What controls which files are indexed and which are not?