Skip to content

Commit b8b717e

Browse files
authored
Disable llvm_link_time_opt.swift test under ASan (#39325)
1 parent cf427d2 commit b8b717e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/Interpreter/llvm_link_time_opt.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33

44
// REQUIRES: lld_lto
55

6+
// For LTO, the linker dlopen()'s the libLTO library, which is a scenario that
7+
// ASan cannot work in ("Interceptors are not working, AddressSanitizer is
8+
// loaded too late").
9+
// REQUIRES: no_asan
10+
611
// RUN: %empty-directory(%t)
712
// RUN: %target-swiftc_driver -emit-library -static -lto=llvm-full %lto_flags -emit-module %S/Inputs/lto/module1.swift -working-directory %t
813
// RUN: %target-swiftc_driver -lto=llvm-full %lto_flags %s -I%t -L%t -lmodule1 -module-name main -o %t/main

0 commit comments

Comments
 (0)