On Sun, 2026-08-02 at 21:52 +0200, Adrian Freihofer via lists.openembedded.org wrote: > From: Adrian Freihofer <[email protected]> > > This series adds clang toolchain support to devtool ide-sdk. LLDB is > part of the same LLVM project as clang and is the more natural debugger > pairing for it (much like GDB pairs with gcc), so ide-sdk now picks LLDB > as the debugger whenever the recipe is built with clang, while > continuing to use GDB for gcc-built recipes as before. The series also > significantly extends oe-selftest coverage for both debugging paths > (ide=code and ide=none). > > Highlights: > - Introduce a debugger back-end abstraction in ide-sdk so GDB and LLDB > can share the common ide=code/ide=none plumbing, and select LLDB > automatically when the recipe's toolchain is clang. > - Add LLDB support for the clang toolchain, for both ide=code > (lldb-server platform mode + CodeLLDB launch/task config) and ide=none > (generated shell scripts). > - Fix a handful of pre-existing ide-sdk issues found along the way: > waiting for the gdbserver port before returning, a duplicate -p flag in > _target_ssh_args, $@ getting overwritten by `set` in the > install_and_deploy script, and meson compile_commands.json generation. > - Refactor the meta-selftest cpp debugging examples into shared .inc > files with clang variants, and add real, end-to-end debug session > coverage (breakpoints in the executable, a library and a header-only > inline function) for GDB (meson) and LLDB (clang, both ide=code and > ide=none), including a recompile/redeploy cycle. > > For now the debugger is selected purely based on the recipe's > TOOLCHAIN (gcc -> GDB, clang -> LLDB). Other combinations, e.g. gcc for > compiling with clang-tidy for static analysis, or support for the VSCode > clangd plugin are not covered yet but could be supported in the future > by making the debugger selection more independent from the compiler > choice.
This wasn't happy on the autobuilder unfortunately: https://autobuilder.yoctoproject.org/valkyrie/#/builders/23/builds/4515 https://autobuilder.yoctoproject.org/valkyrie/#/builders/48/builds/4269 https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/4451 Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#242614): https://lists.openembedded.org/g/openembedded-core/message/242614 Mute This Topic: https://lists.openembedded.org/mt/120567636/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
