[Lldb-commits] [lldb] 9cca883 - Revert "[NFCI][lldb][test] Avoid unnecessary GNU extension for assembly call" (#166970)

via lldb-commits lldb-commits at lists.llvm.org
Fri Nov 7 09:38:49 PST 2025


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(); }


        


More information about the lldb-commits mailing list