[llvm] de1bca4 - mac/arm: XFAIL the last 2 failing check-llvm tests

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 12 17:12:14 PST 2020


Author: Nico Weber
Date: 2020-12-12T20:12:02-05:00
New Revision: de1bca4b36deb2a405bed85f7a7c71c09ab3c586

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

LOG: mac/arm: XFAIL the last 2 failing check-llvm tests

We should fix them, but let's XFAIL them for now so that we can start
running check-llvm on bots and lock in the passing tests.

Part of PR46647.

Added: 
    

Modified: 
    llvm/test/MC/ELF/cfi-version.ll
    llvm/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/test/MC/ELF/cfi-version.ll b/llvm/test/MC/ELF/cfi-version.ll
index 3c3c9ab2179f..753ca80848a2 100644
--- a/llvm/test/MC/ELF/cfi-version.ll
+++ b/llvm/test/MC/ELF/cfi-version.ll
@@ -3,6 +3,9 @@
 ; RUN: %llc_dwarf %s -o - -dwarf-version 4 -filetype=obj | llvm-dwarfdump -v - | FileCheck %s --check-prefix=DWARF4
 ; RUN: %llc_dwarf %s -o - -dwarf-version 5 -filetype=obj | llvm-dwarfdump -v - | FileCheck %s --check-prefix=DWARF4
 
+; PR46647
+; XFAIL: arm64-apple
+
 ; .debug_frame is not emitted for targeting Windows x64.
 ; REQUIRES: debug_frame
 ; REQUIRES: default_triple

diff  --git a/llvm/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp b/llvm/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp
index 29130ec1e56b..09c48dfc865f 100644
--- a/llvm/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp
+++ b/llvm/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp
@@ -424,9 +424,15 @@ TEST_F(MCJITCAPITest, stackmap_creates_compact_unwind_on_darwin) {
     didAllocateCompactUnwindSection);
 }
 
-TEST_F(MCJITCAPITest, reserve_allocation_space) {
+#if defined(__APPLE__) && defined(__aarch64__)
+// FIXME: Figure out why this fails on mac/arm, PR46647
+#define MAYBE_reserve_allocation_space DISABLED_reserve_allocation_space
+#else
+#define MAYBE_reserve_allocation_space reserve_allocation_space
+#endif
+TEST_F(MCJITCAPITest, MAYBE_reserve_allocation_space) {
   SKIP_UNSUPPORTED_PLATFORM;
-  
+
   TestReserveAllocationSpaceMemoryManager* MM = new TestReserveAllocationSpaceMemoryManager();
   
   buildModuleWithCodeAndData();


        


More information about the llvm-commits mailing list