aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/Object/nm-shared-object.test
AgeCommit message (Collapse)AuthorFilesLines
2014-05-09Fix llvm-nm to print the full 64-bit address for symbols in 64-bit object files.Kevin Enderby1-14/+14
The implementation might be better to have a method is64Bit() in the class SymbolicFile instead of having the static routine isSymbolList64Bit() in llvm-nm.cpp . But this is very much in the sprit of isObject() and getNMTypeChar() in llvm-nm.cpp that has a series of if else statements based on the specific class of the SymbolicFile. I can update this if folks would like. Also the tests were updated to be explicit about checking the address for 64-bits or 32-bits from object files. llvm-svn: 208463
2014-01-31Mark the first dynamic elf symbol as SF_FormatSpecific.Rafael Espindola1-0/+2
llvm-svn: 200578
2014-01-30Only ELF has a dynamic symbol table. Remove it from ObjectFile.Rafael Espindola1-2/+11
COFF has only one symbol table. MachO has a LC_DYSYMTAB, but that is not a symbol table, just extra info about the one symbol table (LC_SYMTAB). IR (coming soon) also has only one table. llvm-svn: 200488
2014-01-30This has been fixed.Rafael Espindola1-3/+0
llvm-svn: 200487
2014-01-30Fix TLS handling in ELF's getAddress and llvm-nm to print 'D' for it.Rafael Espindola1-2/+2
llvm-svn: 200433
2012-09-21Fix SymbolRef::getAddress implementation for ELF. The 'value' field in ↵Alexey Samsonov1-9/+17
symbol table entry should be treated differently for relocatable and relocated files. This patch fixes symbol addresses printed by llvm-nm for executables and shared objects. llvm-svn: 164365
2012-02-28[Object] Add {begin,end}_dynamic_symbols stubs and implementation for ELF.Michael J. Spencer1-0/+15
Add -D option to llvm-nm to dump dynamic symbols. Patch by David Meyer. llvm-svn: 151600