[PATCH] D131309: [ELF] Add ability to get a symbol by name from the hash table section

Joseph Huber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 26 07:14:50 PDT 2022


jhuber6 updated this revision to Diff 455901.
jhuber6 added a comment.

Use `sections()` instead of rolling the array manually and duplicating an error check. Still handled by existing tests but the error message changed.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D131309/new/

https://reviews.llvm.org/D131309

Files:
  llvm/include/llvm/Object/ELF.h
  llvm/unittests/Object/ELFObjectFileTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131309.455901.patch
Type: text/x-patch
Size: 17264 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220826/9cb7343a/attachment.bin>


More information about the llvm-commits mailing list