2022-11-09 18:22:27 +00:00
|
|
|
From e9e9e7b76d4f22e7c598c42fd4d41fca778c93f1 Mon Sep 17 00:00:00 2001
|
2022-01-31 10:00:54 +00:00
|
|
|
From: Nikita Popov <npopov@redhat.com>
|
|
|
|
Date: Mon, 31 Jan 2022 10:33:27 +0100
|
2022-10-05 20:07:08 +00:00
|
|
|
Subject: [PATCH] Disable CrashRecoveryTest.DumpStackCleanup test on aarch64
|
2022-01-31 10:00:54 +00:00
|
|
|
|
|
|
|
Produces a non-reproducible failure on aarch64:
|
|
|
|
https://bugzilla.redhat.com/show_bug.cgi?id=2048440
|
|
|
|
---
|
|
|
|
llvm/unittests/Support/CrashRecoveryTest.cpp | 2 ++
|
|
|
|
1 file changed, 2 insertions(+)
|
|
|
|
|
|
|
|
diff --git a/llvm/unittests/Support/CrashRecoveryTest.cpp b/llvm/unittests/Support/CrashRecoveryTest.cpp
|
2022-09-06 09:55:02 +00:00
|
|
|
index 9a1f868019ee..266e9159f361 100644
|
2022-01-31 10:00:54 +00:00
|
|
|
--- a/llvm/unittests/Support/CrashRecoveryTest.cpp
|
|
|
|
+++ b/llvm/unittests/Support/CrashRecoveryTest.cpp
|
|
|
|
@@ -76,6 +76,7 @@ TEST(CrashRecoveryTest, Cleanup) {
|
|
|
|
llvm::CrashRecoveryContext::Disable();
|
|
|
|
}
|
2022-02-14 17:08:51 +00:00
|
|
|
|
2022-01-31 10:57:07 +00:00
|
|
|
+#ifndef __aarch64__
|
2022-01-31 10:00:54 +00:00
|
|
|
TEST(CrashRecoveryTest, DumpStackCleanup) {
|
|
|
|
SmallString<128> Filename;
|
|
|
|
std::error_code EC = sys::fs::createTemporaryFile("crash", "test", Filename);
|
|
|
|
@@ -101,6 +102,7 @@ TEST(CrashRecoveryTest, DumpStackCleanup) {
|
|
|
|
EXPECT_EQ(GlobalInt, 1);
|
|
|
|
llvm::CrashRecoveryContext::Disable();
|
|
|
|
}
|
|
|
|
+#endif
|
2022-02-14 17:08:51 +00:00
|
|
|
|
2022-01-31 10:00:54 +00:00
|
|
|
TEST(CrashRecoveryTest, LimitedStackTrace) {
|
2022-04-11 12:05:29 +00:00
|
|
|
// FIXME: Handle "Depth" parameter in PrintStackTrace() function
|
2022-02-14 17:08:51 +00:00
|
|
|
--
|
2022-11-09 18:22:27 +00:00
|
|
|
2.34.3
|
2022-01-31 10:00:54 +00:00
|
|
|
|