[Lldb-commits] [lldb] Revert "[NFCI][lldb][test] Avoid unnecessary GNU extension for assembly call" (PR #166970)
via lldb-commits
lldb-commits at lists.llvm.org
Fri Nov 7 09:30:56 PST 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-lldb
Author: Alex Langford (bulbazord)
<details>
<summary>Changes</summary>
Reverts llvm/llvm-project#<!-- -->166769
Darwin platforms prefix symbols with `_`, other platforms don't necessarily.
---
Full diff: https://github.com/llvm/llvm-project/pull/166970.diff
1 Files Affected:
- (modified) lldb/test/Shell/Unwind/Inputs/call-asm.c (+2-1)
``````````diff
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(); }
``````````
</details>
https://github.com/llvm/llvm-project/pull/166970
More information about the lldb-commits
mailing list