FIND-ALL-SYMBOLS(1)
π NAME π
find-all-symbols β the manual page for find-all-symbols 16, bestie β¨
π DESCRIPTION π
okay so basically, here's the vibe check π
π¦ USAGE π¦
find-all-symbols [options] <source0> [... <sourceN>]
πΈ OPTIONS πΈ
β¨ Generic Options β¨
--helpβ shows you the available options, periodt. (and if you add--help-hiddenyou get EVEN MORE π)--help-listβ prints a whole list of the available options. (again,--help-list-hiddenexists if you're nosy like me π)--versionβ tells you which version of this program you're running, no cap π
π find_all_symbols options π
--extra-arg=<string>β an extra argument that gets appended to the compiler command line β¨--extra-arg-before=<string>β an extra argument that gets prepended to the compiler command line π--merge-dir=<string>β the directory for merging symbols π§--output-dir=<string>β the output directory where the results get saved π-p <string>β build path π«Ά
π« the -p build path thing π«
-p <build-path> is used to read a compile command database π
like, for example, it can be a CMake build directory where a file called compile_commands.json lives (use the -DCMAKE_EXPORT_COMPILE_COMMANDS=ON CMake option to get that output). and when there's no build path specified, a search for compile_commands.json will be attempted through all the parent paths of the first input file π¦
see: https://clang.llvm.org/docs/HowToSetupToolingForLLVM.html for an example of setting up Clang Tooling on a source tree β¨
π the source files π
<source0> ... β specify the paths of source files. these paths are looked up in the compile command database π
and like, here's the tea:
- if the path of a file is absolute, it needs to point into CMake's source tree π
- if the path is relative, the current working directory needs to be in the CMake source tree, and the file must be in a subdirectory of the current working directory π
"./"prefixes in the relative files will be automatically removed, but the rest of a relative path must be a suffix of a path in the compile command database π
β More help text... β
More help text...
not me writing a whole manpage and still saying "More help text..." β iconic, honestly π
mwah, this was find-all-symbols 16, dated October 2023 β bye bestie, go slay some symbols π
β¨π¦
π¦ where this page comes from
- debian bookworm: clang-tools-16 1:16.0.6-15~deb12u1 Β· APACHE-2-LLVM-EXCEPTIONS
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms