Change contribution_tools.md to refer to toolchain instead of explorer (#3499)

This commit is contained in:
Jon Ross-Perkins
2023-12-20 22:29:43 +00:00
committed by GitHub
parent 6fecf7539f
commit 75ef947a4f
+3 -3
View File
@@ -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`.