llvm-project/llvm/tools/llvm-nm
Benjamin Kramer 75d1cf3391 Object: make the following changes into SymbolRef
- Add enum SymbolType and function getSymbolType()
- Add function isGlobal() - it's returns true for symbols that can be used in another objects, such as library functions.
- Rename function getAddress() to getOffset() and add new function getAddress(), because currently getAddress() returns section offset of symbol first byte. new getAddress() return symbol address.
- Change usage SymbolRef::getAddress() to getOffset() in tools/llvm-nm and tools/llvm-objdump.

Patch by Danil Malyshev!

llvm-svn: 139683
2011-09-14 01:22:52 +00:00
..
CMakeLists.txt llvm-nm: Update to use the new LLVMObject library. 2011-01-20 06:38:57 +00:00
Makefile llvm-nm: Update to use the new LLVMObject library. 2011-01-20 06:38:57 +00:00
llvm-nm.cpp Object: make the following changes into SymbolRef 2011-09-14 01:22:52 +00:00