[PATCH] D139097: [ARM] Fix Address value difference for symbol emitted by llvm-nm

Shankar Easwaran via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 2 05:34:30 PST 2022


shankare added a comment.

Shouldn't nm just print the raw value stored in the symbol table like what readelf does ?

  $ llvm-readelf -s a.o
  
  Symbol table '.symtab' contains 2 entries:
     Num:    Value  Size Type    Bind   Vis       Ndx Name
       0: 00000000     0 NOTYPE  LOCAL  DEFAULT   UND
       1: 00001003     0 FUNC    GLOBAL DEFAULT     1 foo



  $ llvm-nm a.o
  00001002 T foo


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D139097/new/

https://reviews.llvm.org/D139097



More information about the llvm-commits mailing list