diff options
| author | bishtpawan <pawan.bisht@knoldus.com> | 2020-08-05 17:05:53 +0530 |
|---|---|---|
| committer | bishtpawan <pawan.bisht@knoldus.com> | 2020-08-06 16:56:56 +0530 |
| commit | fdfbd89946ca34d12eec658d111ce9a85cd23df0 (patch) | |
| tree | 0b70679788c0ecc7f0b01aba15a0ebfc76057392 /src/librustc_codegen_llvm/coverageinfo | |
| parent | e18b56345f06c12be4dba9b5d76f306cdf0ab7f9 (diff) | |
| download | rust-fdfbd89946ca34d12eec658d111ce9a85cd23df0.tar.gz rust-fdfbd89946ca34d12eec658d111ce9a85cd23df0.zip | |
Incorporate tracing crate
Diffstat (limited to 'src/librustc_codegen_llvm/coverageinfo')
| -rw-r--r-- | src/librustc_codegen_llvm/coverageinfo/mapgen.rs | 2 | ||||
| -rw-r--r-- | src/librustc_codegen_llvm/coverageinfo/mod.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_codegen_llvm/coverageinfo/mapgen.rs b/src/librustc_codegen_llvm/coverageinfo/mapgen.rs index 4d9747a43f2..c2984607184 100644 --- a/src/librustc_codegen_llvm/coverageinfo/mapgen.rs +++ b/src/librustc_codegen_llvm/coverageinfo/mapgen.rs @@ -3,11 +3,11 @@ use crate::coverageinfo; use crate::llvm; use llvm::coverageinfo::CounterMappingRegion; -use log::debug; use rustc_codegen_ssa::coverageinfo::map::{Counter, CounterExpression, Region}; use rustc_codegen_ssa::traits::{BaseTypeMethods, ConstMethods}; use rustc_data_structures::fx::FxHashMap; use rustc_llvm::RustString; +use tracing::debug; use std::ffi::CString; diff --git a/src/librustc_codegen_llvm/coverageinfo/mod.rs b/src/librustc_codegen_llvm/coverageinfo/mod.rs index 9d2090eae8f..0073e83dedb 100644 --- a/src/librustc_codegen_llvm/coverageinfo/mod.rs +++ b/src/librustc_codegen_llvm/coverageinfo/mod.rs @@ -5,7 +5,6 @@ use crate::common::CodegenCx; use libc::c_uint; use llvm::coverageinfo::CounterMappingRegion; -use log::debug; use rustc_codegen_ssa::coverageinfo::map::{CounterExpression, ExprKind, FunctionCoverage}; use rustc_codegen_ssa::traits::{ BaseTypeMethods, CoverageInfoBuilderMethods, CoverageInfoMethods, StaticMethods, @@ -13,6 +12,7 @@ use rustc_codegen_ssa::traits::{ use rustc_data_structures::fx::FxHashMap; use rustc_llvm::RustString; use rustc_middle::ty::Instance; +use tracing::debug; use std::cell::RefCell; use std::ffi::CString; |
