[PATCH] D95158: Use DataExtractor to decode SLEB128 in android_relas.

Rahman Lavaee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 21 11:47:08 PST 2021


rahmanl created this revision.
Herald added subscribers: rupprecht, hiraditya, emaste.
Herald added a reviewer: jhenderson.
rahmanl updated this revision to Diff 318271.
rahmanl added a comment.
rahmanl updated this revision to Diff 318273.
rahmanl published this revision for review.
Herald added subscribers: llvm-commits, MaskRay.
Herald added a project: LLVM.

Remove some of the error handling code.


rahmanl added a comment.

Make the error handling code consistent with the old code.


A simple refactoring patch which let us use `DataExtractor::getSLEB128` rather than using a lambda function.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D95158

Files:
  llvm/lib/Object/ELF.cpp
  llvm/test/tools/llvm-readobj/ELF/packed-relocs-errors.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95158.318273.patch
Type: text/x-patch
Size: 4356 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210121/620d4a6f/attachment.bin>


More information about the llvm-commits mailing list