[llvm] [RISCV][MC] Implement ISA mapping symbols (PR #67541)

Jessica Clarke via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 30 16:15:22 PDT 2023


================
@@ -152,6 +156,16 @@ void RISCVELFStreamer::emitMappingSymbol(StringRef Name) {
   Symbol->setBinding(ELF::STB_LOCAL);
 }
 
+void RISCVELFStreamer::changeISAMappingSymbol(unsigned Attribute,
----------------
jrtc27 wrote:

This is a bad interface; it says "changeISAMappingSymbol" but takes an ELF attribute and its value that may or may not be for the ISA string.

https://github.com/llvm/llvm-project/pull/67541


More information about the llvm-commits mailing list