[compiler-rt] f594328 - [PowerPC] Disable sanitizer test due to failures when using LLD

Nemanja Ivanovic via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 16 10:29:13 PDT 2020


Author: Nemanja Ivanovic
Date: 2020-03-16T12:26:51-05:00
New Revision: f5943288537470d24ea2e3328d3c30f60fdf00e6

URL: https://github.com/llvm/llvm-project/commit/f5943288537470d24ea2e3328d3c30f60fdf00e6
DIFF: https://github.com/llvm/llvm-project/commit/f5943288537470d24ea2e3328d3c30f60fdf00e6.diff

LOG: [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.

Added: 
    

Modified: 
    compiler-rt/test/asan/TestCases/Posix/no-fd.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/asan/TestCases/Posix/no-fd.cpp b/compiler-rt/test/asan/TestCases/Posix/no-fd.cpp
index ee355b5dc101..6f8b2f4e15b0 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 <assert.h>
 #include <stdio.h>


        


More information about the llvm-commits mailing list