[all-commits] [llvm/llvm-project] 0e7adf: [lldb][docs] Describe how to check enabled feature...
David Spickett via All-commits
all-commits at lists.llvm.org
Wed Dec 10 03:29:59 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0e7adf2d724116a42f34169682595aad07dccc69
https://github.com/llvm/llvm-project/commit/0e7adf2d724116a42f34169682595aad07dccc69
Author: David Spickett <david.spickett at linaro.org>
Date: 2025-12-10 (Wed, 10 Dec 2025)
Changed paths:
M lldb/docs/use/troubleshooting.rst
Log Message:
-----------
[lldb][docs] Describe how to check enabled features (#171468)
This makes use of `version -v` added by #170772,
along with fallback methods for LLDB prior to 22.
1. version --verbose (won't work prior to 22)
2. Scripting to call GetBuildConfiguration (won't work if you don't have
a scripting language
3. readelf/other platform's equivalent utility
readelf is recommended for Linux due to security concerns with ldd.
https://man7.org/linux/man-pages/man1/ldd.1.html
"some versions of ldd may attempt to obtain the
dependency information by attempting to directly
execute the program"
The drawback to that is it doesn't show dependencies of dependencies, so
I've noted that. People can use ldd if they trust the binary, but I've
made it clear how to avoid that and why you should avoid it.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list