[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
================
@@ -140,7 +141,10 @@ void RISCVELFStreamer::emitDataMappingSymbol() {
void RISCVELFStreamer::emitInstructionsMappingSymbol() {
if (LastEMS == EMS_Instructions)
return;
- emitMappingSymbol("$x");
+ if (LastEMS == EMS_ChangeISA)
----------------
jrtc27 wrote:
Why can't we just infer this in the ELF streamer rather than introduce this extra state?
https://github.com/llvm/llvm-project/pull/67541
More information about the llvm-commits
mailing list