Rafael Espindola
65d267277b
llvm-nm: treat weak undefined as undefined.
...
This matches the behavior of gnu ld.
llvm-svn: 241512
2015-07-06 21:36:23 +00:00
Rafael Espindola
7b0c357367
When sorting by address, undefined symbols go first.
...
This matches gnu nm.
llvm-svn: 241488
2015-07-06 19:21:04 +00:00
David Majnemer
709c1327d3
Object, COFF: Cleanup symbol type code, improve binutils compatibility
...
Do a better job classifying symbols. This increases the consistency
between the COFF handling code and the ELF side of things.
llvm-svn: 220952
2014-10-31 05:07:00 +00:00
Kevin Enderby
2f67f62475
Changed the lvm-nm alias "-s" for -print-armap to "-M".
...
This will allow the "-s" flag to implemented in the future as it
is in darwin’s nm(1) to list symbols only in the specified section.
Given a LGTM by Shankar Easwaran who originally implemented
the support for lvm-nm’s -print-armap and archive map symbols.
llvm-svn: 212576
2014-07-08 23:47:31 +00:00
Shankar Easwaran
eb6f136f28
numerically sort the symbols, so that the testcase result is uniform
...
llvm-svn: 167872
2012-11-13 21:01:11 +00:00
Daniel Dunbar
6579221af6
llvm-nm: Make sort more stable when symbol names are equal.
...
llvm-svn: 167866
2012-11-13 19:39:55 +00:00
Shankar Easwaran
f934185b04
Adding changes to support GNU style archive library reading
...
llvm-svn: 167853
2012-11-13 18:38:42 +00:00