summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/frame/TestFrames.py
diff options
context:
space:
mode:
authorSean Silva <chisophugis@gmail.com>2017-02-28 08:32:56 +0000
committerSean Silva <chisophugis@gmail.com>2017-02-28 08:32:56 +0000
commita9ba450c52a3628b3ccac6a608ba5f64d68620e8 (patch)
treee1ad446780393b798cb67f71884899d5bcbe8b91 /lldb/packages/Python/lldbsuite/test/python_api/frame/TestFrames.py
parentcc33fc87223b1ff5c7ba95b46575d4f047f4fbfd (diff)
downloadbcm5719-llvm-a9ba450c52a3628b3ccac6a608ba5f64d68620e8.tar.gz
bcm5719-llvm-a9ba450c52a3628b3ccac6a608ba5f64d68620e8.zip
Add a comment.
Naively it seemed at first like getVA had the responsibility of adding the addend, and getSymVA had the responsibility of getting the symbol VA. So it was not obvious to me at first why getVA passes Addend to getSymVA. In fact, it passes it as a mutable reference. It turns out that it only matters for SHF_MERGE sections, and in particular only for STT_SECTION symbols that are used as a hack for reducing the number of local symbols (e.g. to avoid a local symbol for each string in the string table). llvm-svn: 296448
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/frame/TestFrames.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud