From f4e10bb5228ce2fb869177f32aacc3543d008cd8 Mon Sep 17 00:00:00 2001 From: Finagolfin Date: Thu, 22 May 2025 03:53:29 +0530 Subject: [PATCH] [test] Fix IRGen/lto_autolink on Darwin arm64 platforms too --- test/IRGen/lto_autolink.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/IRGen/lto_autolink.swift b/test/IRGen/lto_autolink.swift index ccf196e5bf167..54ba4a98442c0 100644 --- a/test/IRGen/lto_autolink.swift +++ b/test/IRGen/lto_autolink.swift @@ -19,8 +19,8 @@ import empty // RUN: %target-swift-frontend -target %target-cpu-apple-macosx10.15 -emit-module -parse-stdlib -o %t -module-name empty -module-link-name empty %S/../Inputs/empty.swift -// RUN: %target-swift-emit-ir -target %target-cpu-apple-macosx10.15 -lto=llvm-full -parse-stdlib -I %t -I %S/Inputs -DTEST_CLANG_OPTIONS_MERGE %s | %FileCheck %s --check-prefix CHECK-MACHO-MERGE -// RUN: %target-swift-emit-ir -target %target-cpu-apple-macosx10.15 -lto=llvm-thin -parse-stdlib -I %t -I %S/Inputs -DTEST_CLANG_OPTIONS_MERGE %s | %FileCheck %s --check-prefix CHECK-MACHO-MERGE +// RUN: %target-swift-emit-ir -target %target-cpu-apple-macosx10.15 -lto=llvm-full -parse-stdlib -nostdimport -I %t -I %S/Inputs -DTEST_CLANG_OPTIONS_MERGE %s | %FileCheck %s --check-prefix CHECK-MACHO-MERGE +// RUN: %target-swift-emit-ir -target %target-cpu-apple-macosx10.15 -lto=llvm-thin -parse-stdlib -nostdimport -I %t -I %S/Inputs -DTEST_CLANG_OPTIONS_MERGE %s | %FileCheck %s --check-prefix CHECK-MACHO-MERGE // CHECK-MACHO-MERGE-DAG: !llvm.linker.options = !{ // CHECK-MACHO-MERGE-DAG: !{{[0-9]+}} = !{!"-lempty"}