[clang] [llvm] [llvm-objcopy][libObject] Add RISC-V big-endian support (PR #146913)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 3 23:42:50 PDT 2025


================
@@ -2053,6 +2086,8 @@ bool Triple::isLittleEndian() const {
   case Triple::renderscript64:
   case Triple::riscv32:
   case Triple::riscv64:
+  case Triple::riscv32be:
+  case Triple::riscv64be:
----------------
jh7370 wrote:

This looks like a mistake. The function is `isLittleEndian`, so these should be in the `false` side.

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


More information about the llvm-commits mailing list