From de1bca4b36deb2a405bed85f7a7c71c09ab3c586 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Sat, 12 Dec 2020 20:11:14 -0500 Subject: [PATCH] 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. --- llvm/test/MC/ELF/cfi-version.ll | 3 +++ llvm/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp | 10 ++++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/llvm/test/MC/ELF/cfi-version.ll b/llvm/test/MC/ELF/cfi-version.ll index 3c3c9ab..753ca80 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 29130ec..09c48df 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(); -- 2.7.4