[llvm] [RISCV] Add basic Mach-O triple support. (PR #141682)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Thu May 29 09:37:53 PDT 2025


================
@@ -0,0 +1,57 @@
+//===-- RISCVMachObjectWriter.cpp - RISC-V Mach Object Writer -------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#include "MCTargetDesc/RISCVFixupKinds.h"
+#include "MCTargetDesc/RISCVMCExpr.h"
+#include "MCTargetDesc/RISCVMCTargetDesc.h"
+#include "llvm/ADT/StringExtras.h"
+#include "llvm/ADT/Twine.h"
+#include "llvm/BinaryFormat/MachO.h"
+#include "llvm/MC/MCAsmInfo.h"
+// #include "llvm/MC/MCAsmLayout.h"
----------------
MaskRay wrote:

I have removed MCAsmLayout.h on  Tue Jul 2 2024 :)

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


More information about the llvm-commits mailing list