[compiler-rt] [ASan][Test] Remove hardcoded linker version from test (PR #90147)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 25 16:23:53 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-compiler-rt-sanitizer
Author: Usama Hameed (usama54321)
<details>
<summary>Changes</summary>
This is not needed as the correct linker version is detected at configure time and passed to all tests on Darwin.
rdar://125052667
---
Full diff: https://github.com/llvm/llvm-project/pull/90147.diff
1 Files Affected:
- (modified) compiler-rt/test/asan/TestCases/Darwin/odr-lto.cpp (+1-1)
``````````diff
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>
``````````
</details>
https://github.com/llvm/llvm-project/pull/90147
More information about the llvm-commits
mailing list