[Openmp-commits] [openmp] [lld] [llvm] [libcxx] [clang] [lto] Add minimum macos sdk requirement to test (PR #77695)

Caslyn Tonelli via Openmp-commits openmp-commits at lists.llvm.org
Wed Jan 10 15:42:12 PST 2024


https://github.com/Caslyn updated https://github.com/llvm/llvm-project/pull/77695

>From 742c541068ff8764681c1546314c7b0bc5b2893a Mon Sep 17 00:00:00 2001
From: Caslyn Tonelli <caslyn at google.com>
Date: Wed, 10 Jan 2024 14:16:25 -0800
Subject: [PATCH] [lto] Add minimum macos sdk requirement to test

---
 llvm/test/tools/lto/discard-value-names.ll | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/llvm/test/tools/lto/discard-value-names.ll b/llvm/test/tools/lto/discard-value-names.ll
index 7e2c82119028ab..d3d350ea736236 100644
--- a/llvm/test/tools/lto/discard-value-names.ll
+++ b/llvm/test/tools/lto/discard-value-names.ll
@@ -5,6 +5,8 @@
 ; RUN: %ld64 -lto_library %llvmshlibdir/libLTO.dylib -dylib -arch x86_64 -macos_version_min 10.10.0 -o %t.dylib %t.o -save-temps  -undefined dynamic_lookup -exported_symbol _bar -lSystem -mllvm -lto-discard-value-names=false
 ; RUN: llvm-dis %t.dylib.lto.opt.bc -o - | FileCheck --check-prefix=KEEP %s
 
+; REQUIRES: macos-sdk-10.15
+
 ; FIXME: -lto-discard-value-names is ignored at the moment.
 ; DISCARD: %cmp.i = icmp
 ; DISCARD: %add = add i32



More information about the Openmp-commits mailing list