[llvm] Add symbol version support to llvm-ifs (PR #163030)

via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 3 22:46:38 PDT 2026


================
@@ -57,10 +58,14 @@ by the :program:`llvm-ifs`:
 
   + ``Name``: Symbol name.
 
+  + ``Version`` (optional): Symbol version.
+
   + ``Type``: Whether the symbol is an object, function, no-type, thread local storage, or unknown. Symbol types not explicitly supported are mapped as unknown to improve signal-to-noise ratio.
 
   + ``Size``: The size of the symbol in question, doesn't apply to functions, and is optional for NoType symbols.
 
+  + ``Default``: Whether or not the symbol is a default version symbol in this shared object file.
----------------
ur4t wrote:

I have no opinion whether to memtion default value. Currently `Default`'s default value `false` is intentionally to keep consistent with `Undefined` and `Weak`, which default to `false` when not present.

https://github.com/llvm/llvm-project/pull/163030


More information about the llvm-commits mailing list