[llvm-nm][docs] Document -W and -U
authorFangrui Song <i@maskray.me>
Mon, 23 May 2022 16:58:54 +0000 (09:58 -0700)
committerFangrui Song <i@maskray.me>
Mon, 23 May 2022 16:58:54 +0000 (09:58 -0700)
commit224a8653c98ec39bc8e636523f59b07008faaccf
tree29172b00009f0455305b0f9ae2d97e19d262ff7b
parent7085cb6011d4593f39c6c3369d1e29ff08edc514
[llvm-nm][docs] Document -W and -U

Latest GNU nm (milestone: 2.39) has added -W/--no-weak and changed -U to mean
--defined-only (instead of --unicode=). The changes match our semantics.

Close #55297

Reviewed by: jhenderson, keith

Differential Revision: https://reviews.llvm.org/D126133
llvm/docs/CommandGuide/llvm-nm.rst
llvm/tools/llvm-nm/Opts.td