From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: adrian.freihofer@siemens.com, openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [PATCH 00/14] devtool ide-sdk: clang and lldb support
Date: Mon, 03 Aug 2026 09:01:26 +0100 [thread overview]
Message-ID: <ac50878f7bad3ffc3766cdfc4a91dbe1a180dba7.camel@linuxfoundation.org> (raw)
In-Reply-To: <20260802195324.64533-1-adrian.freihofer@siemens.com>
On Sun, 2026-08-02 at 21:52 +0200, Adrian Freihofer via lists.openembedded.org wrote:
> From: Adrian Freihofer <adrian.freihofer@siemens.com>
>
> 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
prev parent reply other threads:[~2026-08-03 8:01 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-02 19:52 [PATCH 00/14] devtool ide-sdk: clang and lldb support AdrianF
2026-08-02 19:52 ` [PATCH 01/14] qemuboot: make do_write_qemuboot_conf a standalone sstate task AdrianF
2026-08-02 21:16 ` [OE-core] " Richard Purdie
2026-08-02 19:52 ` [PATCH 02/14] oe-selftest: devtool: use stat for reading user/group names in ide-sdk tests AdrianF
2026-08-02 19:52 ` [PATCH 03/14] devtool: ide-sdk: fix duplicate -p flag in _target_ssh_args AdrianF
2026-08-02 19:52 ` [PATCH 04/14] devtool: ide-sdk: fix $@ overwritten by set in install_and_deploy script AdrianF
2026-08-02 19:52 ` [PATCH 05/14] devtool: ide-sdk: fix meson compile_commands.json AdrianF
2026-08-02 19:52 ` [PATCH 06/14] oe-selftest: devtool ide-sdk: cover breakpoints in exe, header and library AdrianF
2026-08-02 19:52 ` [PATCH 07/14] oe-selftest: devtool ide-sdk: add real debug coverage for meson+code AdrianF
2026-08-02 19:52 ` [PATCH 08/14] devtool: ide-sdk debugger back-end abstraction AdrianF
2026-08-02 19:52 ` [PATCH 09/14] devtool: ide-sdk: wait for gdbserver port before returning AdrianF
2026-08-02 19:52 ` [PATCH 10/14] devtool: ide-sdk add LLDB support for clang toolchain AdrianF
2026-08-02 19:52 ` [PATCH 11/14] devtool: ide-sdk: add LLDB support for ide=none (clang toolchain) AdrianF
2026-08-02 19:52 ` [PATCH 12/14] meta-selftest: refactor cpp examples into .inc files and add clang variants AdrianF
2026-08-02 19:53 ` [PATCH 13/14] oe-selftest: devtool ide-sdk: add clang/LLDB test AdrianF
2026-08-02 19:53 ` [PATCH 14/14] oe-selftest: devtool ide-sdk: add test for ide=none LLDB/clang support AdrianF
2026-08-03 8:01 ` Richard Purdie [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ac50878f7bad3ffc3766cdfc4a91dbe1a180dba7.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=adrian.freihofer@siemens.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox