[llvm] [MachO] Move getArchTriple implementation into BinaryFormat. (PR #161468)

Ahmed Bougacha via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 3 10:48:32 PDT 2025


================
@@ -17,6 +17,7 @@
 #include "llvm/Support/DataTypes.h"
 #include "llvm/Support/Error.h"
 #include "llvm/Support/SwapByteOrder.h"
+#include "llvm/TargetParser/Triple.h"
----------------
ahmedbougacha wrote:

You can drop the forward-declare at l24 BTW;  I guess having Triple::ArchType be its own forward-declarable type would avoid this and other includes, but one problem at a time!

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


More information about the llvm-commits mailing list