Skip to content
Commit ad1191fb authored by Alexey Samsonov's avatar Alexey Samsonov
Browse files

Fix SymbolRef::getAddress implementation for ELF. The 'value' field in symbol...

Fix SymbolRef::getAddress implementation for ELF. The 'value' field in 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
parent e460a4ea
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment