[compiler-rt] fefac5d - [ASan][Test] Remove hardcoded linker version from test (#90147)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 26 14:53:48 PDT 2024
Author: Usama Hameed
Date: 2024-04-26T14:53:44-07:00
New Revision: fefac5d5458a00b28860e0193928b30be85413cd
URL: https://github.com/llvm/llvm-project/commit/fefac5d5458a00b28860e0193928b30be85413cd
DIFF: https://github.com/llvm/llvm-project/commit/fefac5d5458a00b28860e0193928b30be85413cd.diff
LOG: [ASan][Test] Remove hardcoded linker version from test (#90147)
This is not needed as the correct linker version is detected at
configure time and passed to all tests on Darwin.
rdar://125052667
Added:
Modified:
compiler-rt/test/asan/TestCases/Darwin/odr-lto.cpp
Removed:
################################################################################
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