diff options
| author | Rich Kadel <richkadel@google.com> | 2021-03-26 13:02:46 -0700 |
|---|---|---|
| committer | Rich Kadel <richkadel@google.com> | 2021-04-03 11:42:54 -0700 |
| commit | 23325caf43d16e8caf77f8d4855ff568b6d143be (patch) | |
| tree | 0e1805e4cda956aa04b993790affc559b15228c7 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | 97717a561844eccbb6d6cc114adb94a8fa4e0172 (diff) | |
| download | rust-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
