Skip to content

Commit

Permalink
[ASan][Test] Remove hardcoded linker version from test (#90147)
Browse files Browse the repository at this point in the history
This is not needed as the correct linker version is detected at
configure time and passed to all tests on Darwin.

rdar://125052667
  • Loading branch information
usama54321 committed Apr 26, 2024
1 parent 3d5e9ab commit fefac5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler-rt/test/asan/TestCases/Darwin/odr-lto.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit fefac5d

Please sign in to comment.