bazel-contrib / bazel-contrib/toolchains_llvm

[feature request] Add LLDB

Open
#648 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Starlark
Stars
371
Forks
283
Avg merge
1d 55m
Merged PRs (30d)
25

Description

I see that LLDB is regularly built and shipped with prebuilt LLVM on GitHub.

Just like `@llvm_toolchain//:clang-format` exists, would it be possible to add `@llvm_toolchain//:lldb` so that LLDB could be used for debugging without the need to install one?

Would then something like `bazel run //:my-target --run_under=@llvm_toolchain//:lldb` even work?

Contributor guide

Open the contributing guide

Research direction

Start by tracing how the existing @llvm_toolchain//:clang-format target is defined and how prebuilt LLVM artifacts are exposed. Check whether the proposed @llvm_toolchain//:lldb target can support the shown Bazel --run_under invocation; done means LLDB is exposed and that usage is verified.

Written by the indexing model from the issue text.

Assessment

Domain
build-system, devtools
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.