compdbgen is a general-purpose tool for generating compile_commands.json
files, used with clangd's lsp-server. The tool uses ptrace to intercept
system calls for the current task and all its child tasks, capture the
arguments and environment variables of the execve system call, and
generate compile_commands.json files.
devel/compdbgen: Fix build on FreeBSD 13
The syscallarg_t type was added to FreeBSD in b1ad6a9000c3, which is not
present in any FreeBSD 13 release. Use register_t in place of
syscallarg_t when building on FreeBSD 13.
Sponsored by: The FreeBSD Foundation
devel/compdbgen: New port to generate compile_commands.json
compdbgen is a general-purpose tool for generating compile_commands.json
files, used with clangd's lsp-server. The tool uses ptrace to intercept
system calls for the current task and all its child tasks, capture the
arguments and environment variables of the execve system call, and
generate compile_commands.json files.
Sponsored by: The FreeBSD Foundation