[compiler-rt] [ASan][Test] Remove hardcoded linker version from test (PR #90147)
Usama Hameed via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 25 16:23:22 PDT 2024
https://github.com/usama54321 created https://github.com/llvm/llvm-project/pull/90147
This is not needed as the correct linker version is detected at configure time and passed to all tests on Darwin.
rdar://125052667
>From edc2565c9c2c644a4a6aeec7de0d35ab0ca42ee6 Mon Sep 17 00:00:00 2001
From: usama <u_hameed at apple.com>
Date: Thu, 25 Apr 2024 16:21:29 -0700
Subject: [PATCH] [ASan][Test] Remove hardcoded linker version from test
This is not needed as the correct linker version is detected at
configure time and passed to all tests on Darwin.
rdar://125052667
---
compiler-rt/test/asan/TestCases/Darwin/odr-lto.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/compiler-rt/test/asan/TestCases/Darwin/odr-lto.cpp b/compiler-rt/test/asan/TestCases/Darwin/odr-lto.cpp
index 90c16776a63b13..8d400800fe9348 100644
--- a/compiler-rt/test/asan/TestCases/Darwin/odr-lto.cpp
+++ b/compiler-rt/test/asan/TestCases/Darwin/odr-lto.cpp
@@ -5,7 +5,7 @@
// RUN: %clangxx_asan -DPART=0 -c %s -o %t-1.o -flto -mllvm -asan-use-private-alias
// RUN: %clangxx_asan -DPART=1 -c %s -o %t-2.o -flto -mllvm -asan-use-private-alias
-// RUN: %clangxx_asan_lto %t-1.o %t-2.o -o %t -flto -mlinker-version=133
+// RUN: %clangxx_asan_lto %t-1.o %t-2.o -o %t -flto
// RUN: %run %t 2>&1 | FileCheck %s
#include <stdio.h>
More information about the llvm-commits
mailing list