Skip to content

Commit e15a7e9

Browse files
authored
Merge pull request swiftlang#68681 from kubamracek/embedded-lto-no-asan
[embedded] Require no_asan in the LTO test
2 parents 151d740 + add3613 commit e15a7e9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/embedded/lto.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77
// REQUIRES: VENDOR=apple
88
// REQUIRES: OS=macosx
99

10+
// For LTO, the linker dlopen()'s the libLTO library, which is a scenario that
11+
// ASan cannot work in ("Interceptors are not working, AddressSanitizer is
12+
// loaded too late").
13+
// REQUIRES: no_asan
14+
1015
@_silgen_name("putchar")
1116
func putchar(_: UInt8)
1217

0 commit comments

Comments
 (0)