Rafael Espindola
2d5d23d41d
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
e511051f4b
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
c7d7c6fb3a
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
8da4bd60fb
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
6657517f37
numerically sort the symbols, so that the testcase result is uniform
...
llvm-svn: 167872
2012-11-13 21:01:11 +00:00
Daniel Dunbar
38d2284eeb
llvm-nm: Make sort more stable when symbol names are equal.
...
llvm-svn: 167866
2012-11-13 19:39:55 +00:00
Shankar Easwaran
15b28be9da
Adding changes to support GNU style archive library reading
...
llvm-svn: 167853
2012-11-13 18:38:42 +00:00