aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump/llvm-objdump.cpp
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2020-03-24 17:49:55 +0100
committerPavel Labath <pavel@labath.sk>2020-04-06 14:14:11 +0200
commit9154a6398eda31bfbfac3291250a2968629ebc78 (patch)
tree300a21f93c00a88d01b194e9e6711ac150a0e7ef /llvm/tools/llvm-objdump/llvm-objdump.cpp
parenta16fffa3f6add51fe1c6ee975ace56aa06a3bea7 (diff)
downloadllvm-9154a6398eda31bfbfac3291250a2968629ebc78.zip
llvm-9154a6398eda31bfbfac3291250a2968629ebc78.tar.gz
llvm-9154a6398eda31bfbfac3291250a2968629ebc78.tar.bz2
[llvm/Support] Make more DataExtractor methods error-aware
Summary: This patch adds the optional Error argument, and the Cursor variants to more DataExtractor methods. The functions now behave the same way as other error-aware functions (they set the error when they fail, and don't do anything if the error is already set). I have merged the LEB128 implementations via a template (similarly to how fixed-size functions are handled) to reduce code duplication. Depends on D77304. Reviewers: dblaikie, aprantl Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D77306
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions