[llvm] [llvm][macho] Support the LC_TARGET_TRIPLE load command (PR #210276)

Jonas Devlieghere via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 27 14:45:56 PDT 2026


================
@@ -445,6 +448,14 @@ bool generateDsymCompanion(
       BuildVersionCmd.push_back(Cmd);
       break;
     }
+    case MachO::LC_TARGET_TRIPLE:
+      if (TargetTripleCmd.cmd)
+        return error("Binary contains more than one Target Triple");
----------------
JDevlieghere wrote:

Let's either fix both or neither, in which case I'll do a follow up. 

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


More information about the llvm-commits mailing list