Fix a nomenclature error in llvm-nm.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 2 Apr 2014 22:52:46 +0000 (22:52 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 2 Apr 2014 22:52:46 +0000 (22:52 +0000)
commit5a61b72493a700229bac6cf87366188b039c6271
treebc09e9609917636e9efe8bb94f529e47cf195405
parentd7e2a4815398dcaf7111c7ab0e4df52afd93a880
Fix a nomenclature error in llvm-nm.

What llvm-nm prints depends on the file format. On ELF for example, if the
file is relocatable, it prints offsets. If it is not, it prints addresses.
Since it doesn't really need to care what it is that it is printing, use the
generic term value.

Fix or implement getSymbolValue to keep llvm-nm working.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205479 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Object/ELFObjectFile.h
lib/Object/COFFObjectFile.cpp
lib/Object/MachOObjectFile.cpp
tools/llvm-nm/llvm-nm.cpp