[PATCH] D139097: [ARM] Add option --print-raw-value to llvm-nm to dump raw symbol values in case of ARM
James Henderson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 5 03:06:19 PST 2022
jhenderson added a comment.
According to https://pubs.opengroup.org/onlinepubs/009696899/utilities/nm.html, nm should print the symbol value, which I'd actually interpret as being the value encoded directly in the symbol, which may or may not be the address the symbol is referring to:
> If symbolic information is present in the input files, then for each file or for each member of an archive, the nm utility shall write the following information to standard output. ...
>
> - ...
> - Value of the symbol
I am not really arguing for or against changing the behaviour, but feel like it's important to know the POSIX standard at least.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D139097/new/
https://reviews.llvm.org/D139097
More information about the llvm-commits
mailing list