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

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 13 07:27:05 PDT 2022


jhenderson added inline comments.


================
Comment at: llvm/lib/Object/ELFObjectFile.cpp:329-330
+    std::vector<std::string> FeatureVector = ISAInfo->toFeatureVector();
+    for (const std::string &Feature : FeatureVector)
+      Features.AddFeature(StringRef(Feature));
   }
----------------
This is what I meant.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D125204



More information about the llvm-commits mailing list