https://github.com/bulbazord created 
https://github.com/llvm/llvm-project/pull/166970

Reverts llvm/llvm-project#166769

Darwin platforms prefix symbols with `_`, other platforms don't necessarily.

>From 964e708d9659b2f8b7895bae45f1831523fb1f37 Mon Sep 17 00:00:00 2001
From: Alex Langford <[email protected]>
Date: Fri, 7 Nov 2025 09:29:33 -0800
Subject: [PATCH] =?UTF-8?q?Revert=20"[NFCI][lldb][test]=20Avoid=20unnecess?=
 =?UTF-8?q?ary=20GNU=20extension=20for=20assembly=20call=20=E2=80=A6"?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This reverts commit 3aa7a2426357a523d2ee12bd2b2406e45d058eac.
---
 lldb/test/Shell/Unwind/Inputs/call-asm.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lldb/test/Shell/Unwind/Inputs/call-asm.c 
b/lldb/test/Shell/Unwind/Inputs/call-asm.c
index 30d0069504172..b154c1ac1385d 100644
--- a/lldb/test/Shell/Unwind/Inputs/call-asm.c
+++ b/lldb/test/Shell/Unwind/Inputs/call-asm.c
@@ -1,2 +1,3 @@
-int asm_main();
+int asm_main() asm("asm_main");
+
 int main() { return asm_main(); }

_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to