llvm/lib/Object
Benjamin Kramer ac241fe9f0 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!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139683 91177308-0d34-0410-b5e6-96231b3b80d8
2011-09-14 01:22:52 +00:00
..
Binary.cpp Make Binary the parent of ObjectFile and update children to new interface. 2011-06-25 17:54:50 +00:00
CMakeLists.txt Rewrite the CMake build to use explicit dependencies between libraries, 2011-07-29 00:14:25 +00:00
COFFObjectFile.cpp Object: make the following changes into SymbolRef 2011-09-14 01:22:52 +00:00
ELFObjectFile.cpp Object: make the following changes into SymbolRef 2011-09-14 01:22:52 +00:00
Error.cpp Object: Add proper error handling. 2011-06-25 17:55:23 +00:00
MachOObject.cpp Teach macho-dump to dump the uleb128s referred to by linkedit_data segments. 2011-08-30 22:10:58 +00:00
MachOObjectFile.cpp Object: make the following changes into SymbolRef 2011-09-14 01:22:52 +00:00
Makefile Object: Add missing makefile. 2010-11-15 03:33:14 +00:00
Object.cpp Object: Add proper error handling. 2011-06-25 17:55:23 +00:00
ObjectFile.cpp ObjectFile: Add support for mach-o-style dSYM companion files. 2011-09-14 00:39:22 +00:00