'can't generate tag __mrs_s from "#define __mrs_s(v, r)" in a file.. even using --excmd=pattern
generating tags using ctags seems to be very tricky.
I wanted make tag file for https://elixir.bootlin.com/linux/v5.4.21/source/arch/arm64/include/asm/sysreg.h
you can get this sysreg.h file by
wget https://elixir.bootlin.com/linux/v5.4.21/source/arch/arm64/include/asm/sysreg.h
Please see Can't add reg expression for a #define in ctags. I tried the same method in this answer as below.
ctags --excmd=pattern sysreg.h
I see tag for mrs_s or msr_s in the generated tags file. But I don't see the tag for __mrs_s or __msr_s that I originally wanted. What is wrong?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
