summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2016-02-01 21:00:35 +0000
committerRui Ueyama <ruiu@google.com>2016-02-01 21:00:35 +0000
commitb5a6970acef78eea784f2972f55b8c802c725396 (patch)
treefe1cfad66dd37e4d895b2ff09307bae5152f367e /lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp
parent53907161cc20292fd7de53e8e1f0a7ff105076a7 (diff)
downloadbcm5719-llvm-b5a6970acef78eea784f2972f55b8c802c725396.tar.gz
bcm5719-llvm-b5a6970acef78eea784f2972f55b8c802c725396.zip
ELF: Teach SymbolBody about how to get its addresses.
Previously, the methods to get symbol addresses were somewhat scattered in many places. You can use getEntryAddr returns the address of the symbol, but if you want to get the GOT address for the symbol, you needed to call Out<ELFT>::Got->getEntryAddr(Sym). This change adds new functions, getVA, getGotVA, getGotPltVA, and getPltVA to SymbolBody, so that you can use SymbolBody as the central place to ask about symbols. http://reviews.llvm.org/D16710 llvm-svn: 259404
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud