From f5943288537470d24ea2e3328d3c30f60fdf00e6 Mon Sep 17 00:00:00 2001 From: Nemanja Ivanovic Date: Mon, 16 Mar 2020 12:26:51 -0500 Subject: [PATCH] [PowerPC] Disable sanitizer test due to failures when using LLD This test case fails due to different handling of weak items between LLD and LD on PPC. The issue only occurs when the default linker is LLD and the test case is run on a system where ASLR is enabled. --- compiler-rt/test/asan/TestCases/Posix/no-fd.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/compiler-rt/test/asan/TestCases/Posix/no-fd.cpp b/compiler-rt/test/asan/TestCases/Posix/no-fd.cpp index ee355b5..6f8b2f4 100644 --- a/compiler-rt/test/asan/TestCases/Posix/no-fd.cpp +++ b/compiler-rt/test/asan/TestCases/Posix/no-fd.cpp @@ -6,8 +6,9 @@ // This test closes the 0, 1, and 2 file descriptors before an exec() and relies // on them remaining closed across an execve(). This is not the case on newer -// versions of Android. -// UNSUPPORTED: android +// versions of Android. On PPC with ASLR turned on, this fails when linked with +// lld - see https://bugs.llvm.org/show_bug.cgi?id=45076. +// UNSUPPORTED: android, powerpc #include #include -- 2.7.4