[PATCH] D97979: [lld-macho] Check platform and version while constructing ObjFile and DylibFile
Jez Ng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 5 13:54:28 PST 2021
int3 accepted this revision.
int3 added a comment.
This revision is now accepted and ready to land.
lgtm!
================
Comment at: lld/test/MachO/invalid/incompatible-arch.s:1-2
# REQUIRES: aarch64
-# RUN: llvm-mc -filetype=obj -triple=arm64-apple-darwin %s -o %t.o
-# RUN: not %lld -arch x86_64 -lSystem %t.o -o /dev/null 2>&1 | FileCheck %s -DFILE=%t.o
+# REQUIRES: x86
+
----------------
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D97979/new/
https://reviews.llvm.org/D97979
More information about the llvm-commits
mailing list