FIND-ALL-SYMBOLS(1)
π FIND-ALL-SYMBOLS π
okay bestie so this is find-all-symbols(1), a User Commands girly from the find-all-symbols manual, and yes we're doing this together, hand in hand, no cap. π«Ά
β¨ NAME β¨
find-all-symbols β literally the manual page for find-all-symbols version 19, she's an icon, she's a legend, and she is the moment. π
πΈ DESCRIPTION πΈ
so first thing, the usage, and it's giving:
USAGE: find-all-symbols [options] <source0> [... <sourceN>]
like you hand her some options and then a whole pile of source files, source0 through sourceN, and she does her thing. periodt.
then, the options. let's go. π
π OPTIONS π
π Generic Options
--helpβ shows you all the available options. and if you want even more, there's--help-hiddenfor that. π--help-listβ displays a list of the available options. and again,--help-list-hiddenexists if you're feeling extra and want more. β¨--versionβ displays the version of this program. she'll tell you who she is. π
π¦ find_all_symbols options
--extra-arg=<string>β an additional argument that gets appended to the compiler command line.--extra-arg-before=<string>β an additional argument that gets prepended to the compiler command line. (prepend not append, she's specific about it, we respect that.)--merge-dir=<string>β the directory for merging symbols.--output-dir=<string>β the output directory for saving the results.-p <string>β build path. π
π§ about -p <build-path>, bestie, listen
-p <build-path> is used to read a compile command database.
like for example, it can be a CMake build directory where a file named compile_commands.json exists. and to get that output you use the -DCMAKE_EXPORT_COMPILE_COMMANDS=ON CMake option. so cute of CMake.
when no build path is specified, a search for compile_commands.json will be attempted through all parent paths of the first input file. she goes looking, she's thorough. π
see: https://clang.llvm.org/docs/HowToSetupToolingForLLVM.html for an example of setting up Clang Tooling on a source tree.
π about <source0> ...
these specify the paths of source files. these paths are looked up in the compile command database.
- 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. don't skip that part, it matters. π
More help text...
(that's it, that's the whole line, she said "More help text..." and left it there. main character energy, honestly. π)
<div align="center">
sign-off time, bestie π
this whole vibe was find-all-symbols 19, dated June 2025, and it came to you straight from FIND-ALL-SYMBOLS(1) in the User Commands section. love her, study her, use her responsibly. bye bestie, slay your build. πβ¨πΈπ¦
</div>
π¦ where this page comes from
- debian bookworm: clang-tools-19 1:19.1.7-3~deb12u1 Β· APACHE-2-LLVM-EXCEPTIONS
- debian trixie: clang-tools-19 1:19.1.7-3+b1 Β· APACHE-2-LLVM-EXCEPTIONS
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms