[Lldb-commits] [lldb] [lldb][Target] RunThreadPlan to save/restore the ExecutionContext's frame if one exists (PR #134097)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Fri Apr 4 07:15:51 PDT 2025
================
@@ -0,0 +1,6 @@
+int func(void) {
+ __builtin_printf("Break here");
----------------
DavidSpickett wrote:
This fails to compile on Windows:
https://lab.llvm.org/buildbot/#/builders/141/builds/7573
```
lld-link: error: undefined symbol: printf
>>> referenced by main.o:(func)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
```
No idea why it would complain, perhaps on some platforms the builtin use here is compiled to puts and on windows it isn't?
https://github.com/llvm/llvm-project/pull/134097
More information about the lldb-commits
mailing list