[compiler-rt] [llvm] [JITLink][Mips] Add ELF backend (PR #224578)

Jiaxun Yang via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 23 05:52:33 PDT 2026


================
@@ -1028,13 +1028,13 @@ class LinkGraph {
 
   LinkGraph(std::string Name, std::shared_ptr<orc::SymbolStringPool> SSP,
             Triple TT, SubtargetFeatures Features,
-            GetEdgeKindNameFunction GetEdgeKindName)
+            GetEdgeKindNameFunction GetEdgeKindName,
+            std::optional<unsigned> PointerSize = std::nullopt)
       : Name(std::move(Name)), SSP(std::move(SSP)), TT(std::move(TT)),
         Features(std::move(Features)),
-        GetEdgeKindName(std::move(GetEdgeKindName)) {
-    assert(!(Triple::getArchPointerBitWidth(this->TT.getArch()) % 8) &&
----------------
FlyGoat wrote:

For MIPS64 we have n32 and n64 ABI, n32 ABI is ELF32 (pretty much like x32 for x86) while n64 ABI is ELF64.

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


More information about the llvm-commits mailing list