about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorRich Kadel <richkadel@google.com>2021-03-26 13:02:46 -0700
committerRich Kadel <richkadel@google.com>2021-04-03 11:42:54 -0700
commit23325caf43d16e8caf77f8d4855ff568b6d143be (patch)
tree0e1805e4cda956aa04b993790affc559b15228c7 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent97717a561844eccbb6d6cc114adb94a8fa4e0172 (diff)
downloadrust-23325caf43d16e8caf77f8d4855ff568b6d143be.tar.gz
rust-23325caf43d16e8caf77f8d4855ff568b6d143be.zip
Make rust-demangler installable
Adds bootstrap rules to support installing rust-demangler.

When compiling with `-Z instrument-coverage`, the coverage reports are
generated by `llvm-cov`. `llvm-cov` includes a built-in demangler for
C++, and an option to supply an alternate demangler. For Rust, we have
`rust-demangler`, currently used in `rustc` coverage tests.

Fuchsia's toolchain for Rust is built via `./x.py install`. Fuchsia is
adding support for Rust coverage, and we need to include the
`rust-demangler` in the installed `bin` directory.

Configured rust-demangler as an in-tree extended tool.

Added tests to support `./x.py test rust-demangler`.

Install with extended tools by default only if `profiler = true`.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions