aboutsummaryrefslogtreecommitdiff
path: root/lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp
diff options
context:
space:
mode:
authorGeorgii Rymar <grimar@accesssoftek.com>2020-11-12 12:46:59 +0300
committerGeorgii Rymar <grimar@accesssoftek.com>2020-11-20 12:21:42 +0300
commitaadbe206221c56996ec0c5a34674c0ccd0132e44 (patch)
treeac1bbe8655cc7b77e52cf13dedcd4a9972bb54cc /lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp
parent5644f734d6068f6e75ecd9856e5f837190543667 (diff)
downloadllvm-aadbe206221c56996ec0c5a34674c0ccd0132e44.zip
llvm-aadbe206221c56996ec0c5a34674c0ccd0132e44.tar.gz
llvm-aadbe206221c56996ec0c5a34674c0ccd0132e44.tar.bz2
[llvm-readobj] - Introduce `forEachRelocationDo` helper.
Our `printStackSize` implementation currently uses API like `RelocationRef`, `object::symbol_iterator`. It is not ideal as it doesn't allow to handle possible error conditions properly. Some time ago I started rewriting it and this NFC patch is a one more step toward to it. Here I am introducing the `forEachRelocationDo` helper. With it it is possible to iterate over all kinds of relocations, what is helpful for improving the code in `printStackSize` and around. Differential revision: https://reviews.llvm.org/D91530
Diffstat (limited to 'lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp')
0 files changed, 0 insertions, 0 deletions