[PATCH] D86309: [ELF] Handle SHT_RISCV_ATTRIBUTES similarly to SHT_ARM_ATTRIBUTES

Jessica Clarke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 5 07:02:39 PDT 2020


jrtc27 updated this revision to Diff 290084.
jrtc27 added a comment.

Use llvm-readelf rather than llvm-readobj

They both have the same format for BuildAttributes, but llvm-readelf only emits
that whereas llvm-readobj emits additional information about the file we don't
care about.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D86309

Files:
  lld/ELF/InputFiles.cpp
  lld/ELF/SyntheticSections.h
  lld/test/ELF/riscv-attributes.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86309.290084.patch
Type: text/x-patch
Size: 4968 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200905/2a114011/attachment-0001.bin>


More information about the llvm-commits mailing list