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

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 15 23:50:05 PDT 2025


================
@@ -35,6 +35,7 @@ defm radix : Eq<"radix", "Radix (o/d/x) for printing symbol Values">, MetaVarNam
 def reverse_sort : FF<"reverse-sort", "Sort in reverse order">;
 def size_sort : FF<"size-sort", "Sort symbols by size">;
 def special_syms : FF<"special-syms", "Do not filter special symbols from the output">;
+def synthetic_syms : FF<"synthetic", "Include synthetic symbols in the output.  These are special symbols created by the linker for various purposes">;
----------------
jh7370 wrote:

```suggestion
def synthetic_syms : FF<"synthetic", "Include synthetic symbols in the output. These are special symbols created by the linker for various purposes">;
```
Since this is rendered as monospace font on the command-line,  a double space here will look ugly. Also, please reflow this option so it spreads over multiple lines, since it is rather long.

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


More information about the llvm-commits mailing list