[llvm] [llvm-nm] Introduce synthetic flag (PR #138232)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Fri May 2 20:02:35 PDT 2025


================
@@ -257,6 +257,11 @@ OPTIONS
 
  Do not filter special symbols from the output.
 
+.. option:: --synthetic
+ Include synthetic symbols in the output. Synthetic symbols are not present in
+ the original object file but are generated by the tool to represent relevant
+ runtime or linking information.
----------------
MaskRay wrote:

Perhaps 

Include synthetic symbols in the output. Synthetic symbols are not present in the original object file. This currently includes symbols derived from PLT entries for ELF.

I find 
"are generated by the tool to represent relevant runtime or linking information." very vague and not very useful. The PLT detail seems important.

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


More information about the llvm-commits mailing list