0ff4ac2
From 3df079ae29426b4bee3ca11681a41958d72b983a Mon Sep 17 00:00:00 2001
410f5f1
From: Nikita Popov <npopov@redhat.com>
410f5f1
Date: Mon, 31 Jan 2022 10:33:27 +0100
0ff4ac2
Subject: [PATCH] Disable CrashRecoveryTest.DumpStackCleanup test on aarch64
410f5f1
410f5f1
Produces a non-reproducible failure on aarch64:
410f5f1
https://bugzilla.redhat.com/show_bug.cgi?id=2048440
410f5f1
---
410f5f1
 llvm/unittests/Support/CrashRecoveryTest.cpp | 2 ++
410f5f1
 1 file changed, 2 insertions(+)
410f5f1
410f5f1
diff --git a/llvm/unittests/Support/CrashRecoveryTest.cpp b/llvm/unittests/Support/CrashRecoveryTest.cpp
0ff4ac2
index e95513eb2841..afb1d3a1f6a2 100644
410f5f1
--- a/llvm/unittests/Support/CrashRecoveryTest.cpp
410f5f1
+++ b/llvm/unittests/Support/CrashRecoveryTest.cpp
410f5f1
@@ -76,6 +76,7 @@ TEST(CrashRecoveryTest, Cleanup) {
410f5f1
   llvm::CrashRecoveryContext::Disable();
410f5f1
 }
410f5f1
0ff4ac2
+#ifndef __aarch64__
410f5f1
 TEST(CrashRecoveryTest, DumpStackCleanup) {
410f5f1
   SmallString<128> Filename;
410f5f1
   std::error_code EC = sys::fs::createTemporaryFile("crash", "test", Filename);
410f5f1
@@ -101,6 +102,7 @@ TEST(CrashRecoveryTest, DumpStackCleanup) {
410f5f1
   EXPECT_EQ(GlobalInt, 1);
410f5f1
   llvm::CrashRecoveryContext::Disable();
410f5f1
 }
410f5f1
+#endif
410f5f1
410f5f1
 TEST(CrashRecoveryTest, LimitedStackTrace) {
410f5f1
   std::string Res;
410f5f1
--
410f5f1
2.34.1
410f5f1
410f5f1