[llvm] [RISCV] Add initial assembler/MC layer support for big-endian (PR #146534)

Djordje Todorovic via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 21 10:52:54 PDT 2025


================
@@ -247,6 +247,8 @@ void TargetLoweringObjectFileELF::Initialize(MCContext &Ctx,
     break;
   case Triple::riscv32:
   case Triple::riscv64:
+  case Triple::riscv32be:
+  case Triple::riscv64be:
     LSDAEncoding = dwarf::DW_EH_PE_pcrel | dwarf::DW_EH_PE_sdata4;
----------------
djtodoro wrote:

You are right. But, I will drop this from this PR, and leave it for the upcoming/codegen change.

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


More information about the llvm-commits mailing list