[llvm] [llvm-lib] Handle MIPS architecture (PR #121007)

Hervé Poussineau via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 25 22:32:24 PST 2024


================
@@ -0,0 +1,13 @@
+RUN: rm -f %t.lib
+
+RUN: llvm-lib /out:%t.lib /machine:i386 2>&1 | FileCheck --check-prefix=EMPTYWARN %s
+RUN: llvm-lib /out:%t.lib /machine:amd64 2>&1 | FileCheck --check-prefix=EMPTYWARN %s
+
+RUN: llvm-lib /out:%t.lib /machine:mips 2>&1 | FileCheck --check-prefix=EMPTYWARN %s
----------------
hpoussin wrote:

No, it must be `mips` to be compatible with Microsoft lib.exe

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


More information about the llvm-commits mailing list