Author: Alex Langford
Date: 2025-11-07T17:38:45Z
New Revision: 9cca883dd031ba495f9d45d21e30b05af69c2c75

URL: 
https://github.com/llvm/llvm-project/commit/9cca883dd031ba495f9d45d21e30b05af69c2c75
DIFF: 
https://github.com/llvm/llvm-project/commit/9cca883dd031ba495f9d45d21e30b05af69c2c75.diff

LOG: Revert "[NFCI][lldb][test] Avoid unnecessary GNU extension for assembly 
call" (#166970)

Reverts llvm/llvm-project#166769

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

Added: 
    

Modified: 
    lldb/test/Shell/Unwind/Inputs/call-asm.c

Removed: 
    


################################################################################
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