mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 19:00:11 +01:00
Change contribution_tools.md to refer to toolchain instead of explorer (#3499)
This commit is contained in:
@@ -251,13 +251,13 @@ Pass `-c dbg` to `bazel build` in order to compile with debugging enabled. For
|
||||
example:
|
||||
|
||||
```shell
|
||||
bazel build -c dbg //explorer
|
||||
bazel build -c dbg //toolchain/driver:carbon
|
||||
```
|
||||
|
||||
Then debugging works with GDB:
|
||||
|
||||
```shell
|
||||
gdb bazel-bin/explorer/explorer
|
||||
gdb bazel-bin/toolchain/driver/carbon
|
||||
```
|
||||
|
||||
Note that LLVM uses DWARF v5 debug symbols, which means that GDB version 10.1 or
|
||||
@@ -279,7 +279,7 @@ for more information. To workaround, provide the `--spawn_strategy=local` option
|
||||
to Bazel for the debug build, like:
|
||||
|
||||
```shell
|
||||
bazel build --spawn_strategy=local -c dbg //explorer
|
||||
bazel build --spawn_strategy=local -c dbg //toolchain/driver:carbon
|
||||
```
|
||||
|
||||
You should then be able to debug with `lldb`.
|
||||
|
||||
Reference in New Issue
Block a user