Skip to content

Commit 889d65d

Browse files
authored
Re-enable VFE/WME tests, skip LTO-using tests under ASan (#39912)
1 parent 8aef84c commit 889d65d

5 files changed

+22
-6
lines changed

test/IRGen/conditional-dead-strip-exec.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@
1515
// FIXME(mracek): More work needed to get this to work on non-Apple platforms.
1616
// REQUIRES: VENDOR=apple
1717

18+
// For LTO, the linker dlopen()'s the libLTO library, which is a scenario that
19+
// ASan cannot work in ("Interceptors are not working, AddressSanitizer is
20+
// loaded too late").
21+
// REQUIRES: no_asan
22+
1823
// (1) used
1924
@inline(never) func func1_used() { print("func1_used") }
2025

test/IRGen/virtual-function-elimination-exec.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,10 @@
1414
// FIXME(mracek): More work needed to get this to work on non-Apple platforms.
1515
// REQUIRES: VENDOR=apple
1616

17-
// Disable to unblock CI
18-
// REQUIRES: rdar84643923
17+
// For LTO, the linker dlopen()'s the libLTO library, which is a scenario that
18+
// ASan cannot work in ("Interceptors are not working, AddressSanitizer is
19+
// loaded too late").
20+
// REQUIRES: no_asan
1921

2022
class MyClass {
2123
func foo() { print("MyClass.foo") }

test/IRGen/virtual-function-elimination-two-modules.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@
3434
// FIXME(mracek): More work needed to get this to work on non-Apple platforms.
3535
// REQUIRES: VENDOR=apple
3636

37+
// For LTO, the linker dlopen()'s the libLTO library, which is a scenario that
38+
// ASan cannot work in ("Interceptors are not working, AddressSanitizer is
39+
// loaded too late").
40+
// REQUIRES: no_asan
41+
3742
#if LIBRARY
3843

3944
public class MyClass {

test/IRGen/witness-method-elimination-exec.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,10 @@
1414
// FIXME(mracek): More work needed to get this to work on non-Apple platforms.
1515
// REQUIRES: VENDOR=apple
1616

17-
// Disable to unblock CI
18-
// REQUIRES: rdar84643923
17+
// For LTO, the linker dlopen()'s the libLTO library, which is a scenario that
18+
// ASan cannot work in ("Interceptors are not working, AddressSanitizer is
19+
// loaded too late").
20+
// REQUIRES: no_asan
1921

2022
protocol TheProtocol {
2123
func func1_live()

test/IRGen/witness-method-elimination-two-modules.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,10 @@
3535
// FIXME(mracek): More work needed to get this to work on non-Apple platforms.
3636
// REQUIRES: VENDOR=apple
3737

38-
// Disable to unblock CI
39-
// REQUIRES: rdar84643923
38+
// For LTO, the linker dlopen()'s the libLTO library, which is a scenario that
39+
// ASan cannot work in ("Interceptors are not working, AddressSanitizer is
40+
// loaded too late").
41+
// REQUIRES: no_asan
4042

4143
#if LIBRARY
4244

0 commit comments

Comments
 (0)