https://github.com/Sirraide created 
https://github.com/llvm/llvm-project/pull/158756

These no longer compile because the warning now defaults to an error after 
#157364, so downgrade the error to a warning for now; I’m not familiar enough 
with either LLDB or MacOS to fix these warnings properly (assuming they’re 
unintended).

>From dbba10861f464424d39044cb615517b984886673 Mon Sep 17 00:00:00 2001
From: Sirraide <aeternalm...@gmail.com>
Date: Tue, 16 Sep 2025 01:50:04 +0200
Subject: [PATCH 1/2] [LLDB] [Tests] Downgrade -Wincompatible-pointer-types to
 a warning in some tests

---
 .../functionalities/data-formatter/data-formatter-objc/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/lldb/test/API/functionalities/data-formatter/data-formatter-objc/Makefile 
b/lldb/test/API/functionalities/data-formatter/data-formatter-objc/Makefile
index 8b322ff320bb0..5ef65e0c08451 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-objc/Makefile
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-objc/Makefile
@@ -1,6 +1,6 @@
 OBJC_SOURCES := main.m
 
-CFLAGS_EXTRAS := -w
+CFLAGS_EXTRAS := -w -Wno-error=incompatible-pointer-types
 
 
 

>From bebdc65e3b4f6b70bfa7bd1bc2981467b9237fe4 Mon Sep 17 00:00:00 2001
From: Sirraide <aeternalm...@gmail.com>
Date: Tue, 16 Sep 2025 01:51:01 +0200
Subject: [PATCH 2/2] Add one more test

---
 lldb/test/API/macosx/ignore_exceptions/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lldb/test/API/macosx/ignore_exceptions/Makefile 
b/lldb/test/API/macosx/ignore_exceptions/Makefile
index 695335e068c0c..14ed92da5296b 100644
--- a/lldb/test/API/macosx/ignore_exceptions/Makefile
+++ b/lldb/test/API/macosx/ignore_exceptions/Makefile
@@ -1,4 +1,4 @@
 C_SOURCES := main.c
-CFLAGS_EXTRAS := -std=c99
+CFLAGS_EXTRAS := -std=c99 -Wno-error=incompatible-pointer-types
 
 include Makefile.rules

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to