[PATCH] D125204: [RISCV] Use RISCVISAInfo to parse arch string from ELF build attribute.

Kito Cheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 11 08:29:02 PDT 2022


kito-cheng updated this revision to Diff 428675.
kito-cheng marked 5 inline comments as done.
kito-cheng added a comment.
Herald added a subscriber: shiva0217.

Changes:

- Address @jhenderson's comment
  - Minor style fixing.
  - Refactor `RISCVISAInfo::parseArchString`, using isSupportedExtension rather than maintain `SupportedStandardExtension`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D125204

Files:
  llvm/include/llvm/Support/RISCVISAInfo.h
  llvm/lib/Object/ELFObjectFile.cpp
  llvm/lib/Support/RISCVISAInfo.cpp
  llvm/test/tools/llvm-objdump/ELF/RISCV/objdump.s
  llvm/test/tools/llvm-objdump/ELF/RISCV/unknown-arch-attr.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125204.428675.patch
Type: text/x-patch
Size: 8410 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220511/9323a16e/attachment.bin>


More information about the llvm-commits mailing list