public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH 0/9] devtool: ide-sdk clang/LLDB support and minor fixes
@ 2026-03-18 22:36 AdrianF
  2026-03-18 22:36 ` [PATCH 1/9] oe-selftest: devtool: use stat for reading user/group names in ide-sdk tests AdrianF
                   ` (8 more replies)
  0 siblings, 9 replies; 13+ messages in thread
From: AdrianF @ 2026-03-18 22:36 UTC (permalink / raw)
  To: openembedded-core; +Cc: Adrian Freihofer

From: Adrian Freihofer <adrian.freihofer@siemens.com>

This series adds clang/LLDB support to devtool ide-sdk and contains
some bug fixes accumulated before the release.

Bug fixes and small improvements:

- Various selftest robustness fixes: use stat(1) instead of ls for
  user/group name lookups, switch to assertRegex, fix conf-file
  ownership with static UIDs/GIDs, add a GDB test that sets a
  breakpoint after std::vector construction.
- ide-sdk: use TOOLCHAIN instead of TCOVERRIDE to detect the active
  toolchain.
- ide-sdk debugger back-end: fix a typo (is_c_ccp -> is_c_cpp) and
  cleanly separate the debugger configuration from the IDE-specific
  launch/task file generation to simplify adding further back-ends.

Clang and LLDB support:

- ide-sdk: add LLDB (CodeLLDB) remote debugging support for the clang
  toolchain, including lldb-server target configuration, RecipeLldbNative
  host wrapper, source-map handling and VSCode launch.json generation.
- meta-selftest: refactor cmake-example and meson-example into shared
  .inc files and add clang variants (cmake-example-clang,
  meson-example-clang) to exercise the new toolchain path.
- oe-selftest: add end-to-end tests for devtool ide-sdk with the clang
  toolchain, including a full remote debugging session where the binary
  is compiled with clang and debugged with LLDB.

Adrian Freihofer (9):
  oe-selftest: devtool: use stat for reading user/group names in ide-sdk
    tests
  oe-selftest: devtool: GDB breakpoint after std::vector is constructed
  oe-selftest: devtool: use assertRegex to match test output for meson
  oe-selftest/cpp-example: fix conf file ownership with static UIDs/GIDs
  devtool: ide-sdk: use TOOLCHAIN not TCOVERRIDE
  devtool: ide-sdk debugger back-end abstraction
  devtool: ide-sdk add LLDB support for clang toolchain
  meta-selftest: refactor cpp examples into .inc files and add clang
    variants
  oe-selftest: devtool ide-sdk: add clang/LLDB test

 meta-selftest/files/static-group              |   2 +
 meta-selftest/files/static-passwd             |   2 +
 .../recipes-test/cpp/cmake-example-clang.bb   |  13 +
 .../recipes-test/cpp/cmake-example.bb         |  20 +-
 .../recipes-test/cpp/cmake-example.inc        |  29 ++
 .../recipes-test/cpp/cmake-example/run-ptest  |  10 -
 .../recipes-test/cpp/cpp-example.inc          |  26 +-
 .../recipes-test/cpp/files/CMakeLists.txt     |  35 +--
 .../recipes-test/cpp/files/meson.build        |  17 +-
 .../recipes-test/cpp/files/meson.options      |   6 +
 .../cpp/{meson-example => files}/run-ptest    |   4 +-
 .../recipes-test/cpp/meson-example-clang.bb   |  13 +
 .../recipes-test/cpp/meson-example.bb         |  24 +-
 .../recipes-test/cpp/meson-example.inc        |  36 +++
 meta/lib/oeqa/selftest/cases/devtool.py       | 229 +++++++++++++++-
 scripts/lib/devtool/ide_plugins/__init__.py   | 258 ++++++++++++------
 scripts/lib/devtool/ide_plugins/ide_code.py   | 146 ++++++++--
 scripts/lib/devtool/ide_plugins/ide_none.py   |  26 +-
 scripts/lib/devtool/ide_sdk.py                |  86 +++++-
 19 files changed, 754 insertions(+), 228 deletions(-)
 create mode 100644 meta-selftest/recipes-test/cpp/cmake-example-clang.bb
 create mode 100644 meta-selftest/recipes-test/cpp/cmake-example.inc
 delete mode 100644 meta-selftest/recipes-test/cpp/cmake-example/run-ptest
 rename meta-selftest/recipes-test/cpp/{meson-example => files}/run-ptest (51%)
 create mode 100644 meta-selftest/recipes-test/cpp/meson-example-clang.bb
 create mode 100644 meta-selftest/recipes-test/cpp/meson-example.inc

-- 
2.53.0



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2026-03-20 10:18 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-18 22:36 [PATCH 0/9] devtool: ide-sdk clang/LLDB support and minor fixes AdrianF
2026-03-18 22:36 ` [PATCH 1/9] oe-selftest: devtool: use stat for reading user/group names in ide-sdk tests AdrianF
2026-03-18 22:36 ` [PATCH 2/9] oe-selftest: devtool: GDB breakpoint after std::vector is constructed AdrianF
2026-03-18 22:36 ` [PATCH 3/9] oe-selftest: devtool: use assertRegex to match test output for meson AdrianF
2026-03-18 22:36 ` [PATCH 4/9] oe-selftest/cpp-example: fix conf file ownership with static UIDs/GIDs AdrianF
2026-03-18 22:36 ` [PATCH 5/9] devtool: ide-sdk: use TOOLCHAIN not TCOVERRIDE AdrianF
2026-03-18 22:36 ` [PATCH 6/9] devtool: ide-sdk debugger back-end abstraction AdrianF
2026-03-18 22:36 ` [PATCH 7/9] devtool: ide-sdk add LLDB support for clang toolchain AdrianF
2026-03-18 22:36 ` [PATCH 8/9] meta-selftest: refactor cpp examples into .inc files and add clang variants AdrianF
2026-03-18 22:36 ` [PATCH 9/9] oe-selftest: devtool ide-sdk: add clang/LLDB test AdrianF
2026-03-20  7:12   ` [OE-core] " Mathieu Dubois-Briand
2026-03-20  9:11     ` adrian.freihofer
2026-03-20 10:18       ` Mathieu Dubois-Briand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox